public class GUIHelper extends Object
Modifier and Type | Field and Description |
---|---|
static org.eclipse.swt.graphics.Color |
COLOR_BLACK |
static org.eclipse.swt.graphics.Color |
COLOR_BLUE |
static org.eclipse.swt.graphics.Color |
COLOR_DARK_GRAY |
static org.eclipse.swt.graphics.Color |
COLOR_GRAY |
static org.eclipse.swt.graphics.Color |
COLOR_GREEN |
static org.eclipse.swt.graphics.Color |
COLOR_LIST_BACKGROUND |
static org.eclipse.swt.graphics.Color |
COLOR_LIST_FOREGROUND |
static org.eclipse.swt.graphics.Color |
COLOR_LIST_SELECTION |
static org.eclipse.swt.graphics.Color |
COLOR_LIST_SELECTION_TEXT |
static org.eclipse.swt.graphics.Color |
COLOR_RED |
static org.eclipse.swt.graphics.Color |
COLOR_TITLE_INACTIVE_BACKGROUND |
static org.eclipse.swt.graphics.Color |
COLOR_WHITE |
static org.eclipse.swt.graphics.Color |
COLOR_WIDGET_BACKGROUND |
static org.eclipse.swt.graphics.Color |
COLOR_WIDGET_BORDER |
static org.eclipse.swt.graphics.Color |
COLOR_WIDGET_DARK_SHADOW |
static org.eclipse.swt.graphics.Color |
COLOR_WIDGET_FOREGROUND |
static org.eclipse.swt.graphics.Color |
COLOR_WIDGET_HIGHLIGHT_SHADOW |
static org.eclipse.swt.graphics.Color |
COLOR_WIDGET_LIGHT_SHADOW |
static org.eclipse.swt.graphics.Color |
COLOR_WIDGET_NORMAL_SHADOW |
static org.eclipse.swt.graphics.Color |
COLOR_YELLOW |
static int |
DEFAULT_ANTIALIAS |
static org.eclipse.swt.graphics.Font |
DEFAULT_FONT |
static int |
DEFAULT_MIN_DISPLAY_SIZE |
static int |
DEFAULT_RESIZE_HANDLE_SIZE |
static int |
DEFAULT_TEXT_ANTIALIAS |
Constructor and Description |
---|
GUIHelper() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.swt.graphics.RGB |
blend(org.eclipse.swt.graphics.RGB val1,
org.eclipse.swt.graphics.RGB val2)
Blend the two colour values returning a value that is halfway between
them.
|
static org.eclipse.swt.graphics.Color |
getColor(int red,
int green,
int blue) |
static org.eclipse.swt.graphics.Color |
getColor(org.eclipse.swt.graphics.RGB rgb) |
static org.eclipse.swt.graphics.Color |
getColor(String key) |
static org.eclipse.swt.graphics.Font |
getFont(org.eclipse.swt.graphics.FontData... fontDatas) |
static org.eclipse.swt.graphics.Font |
getFont(String key) |
static org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.graphics.ImageData data) |
static org.eclipse.swt.graphics.Image |
getImage(String key) |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String key) |
static String |
getSequenceNumber() |
public static final org.eclipse.swt.graphics.Color COLOR_GRAY
public static final org.eclipse.swt.graphics.Color COLOR_WHITE
public static final org.eclipse.swt.graphics.Color COLOR_DARK_GRAY
public static final org.eclipse.swt.graphics.Color COLOR_BLACK
public static final org.eclipse.swt.graphics.Color COLOR_BLUE
public static final org.eclipse.swt.graphics.Color COLOR_RED
public static final org.eclipse.swt.graphics.Color COLOR_YELLOW
public static final org.eclipse.swt.graphics.Color COLOR_GREEN
public static final org.eclipse.swt.graphics.Color COLOR_LIST_BACKGROUND
public static final org.eclipse.swt.graphics.Color COLOR_LIST_FOREGROUND
public static final org.eclipse.swt.graphics.Color COLOR_LIST_SELECTION
public static final org.eclipse.swt.graphics.Color COLOR_LIST_SELECTION_TEXT
public static final org.eclipse.swt.graphics.Color COLOR_WIDGET_BACKGROUND
public static final org.eclipse.swt.graphics.Color COLOR_WIDGET_FOREGROUND
public static final org.eclipse.swt.graphics.Color COLOR_TITLE_INACTIVE_BACKGROUND
public static final org.eclipse.swt.graphics.Color COLOR_WIDGET_BORDER
public static final org.eclipse.swt.graphics.Color COLOR_WIDGET_DARK_SHADOW
public static final org.eclipse.swt.graphics.Color COLOR_WIDGET_LIGHT_SHADOW
public static final org.eclipse.swt.graphics.Color COLOR_WIDGET_NORMAL_SHADOW
public static final org.eclipse.swt.graphics.Color COLOR_WIDGET_HIGHLIGHT_SHADOW
public static final org.eclipse.swt.graphics.Font DEFAULT_FONT
public static final int DEFAULT_RESIZE_HANDLE_SIZE
public static final int DEFAULT_MIN_DISPLAY_SIZE
public static final int DEFAULT_ANTIALIAS
public static final int DEFAULT_TEXT_ANTIALIAS
public static org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb)
public static org.eclipse.swt.graphics.Color getColor(int red, int green, int blue)
public static org.eclipse.swt.graphics.Color getColor(String key)
public static org.eclipse.swt.graphics.Font getFont(org.eclipse.swt.graphics.FontData... fontDatas)
public static org.eclipse.swt.graphics.Font getFont(String key)
public static org.eclipse.swt.graphics.Image getImage(String key)
public static org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.graphics.ImageData data)
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String key)
public static String getSequenceNumber()
public static org.eclipse.swt.graphics.RGB blend(org.eclipse.swt.graphics.RGB val1, org.eclipse.swt.graphics.RGB val2)
val1
- the first valueval2
- the second valueCopyright © 2013. All Rights Reserved.