Modifier and Type | Method and Description |
---|---|
static ColorPool |
forWidget(ControlWrapper wrapper)
Returns a ColorPool for the given ControlWrapper, creating one if necessary.
|
static ColorPool |
forWidget(Widget widget)
Returns a ColorPool for the given Widget, creating one if necessary.
|
Color |
getColor(RGB rgb)
Returns a Color for the given RGB value.
|
Color |
getSystemColor(int systemColor)
Returns a Color for the SWT.COLOR_xxx.
|
public Color getSystemColor(int systemColor)
public static ColorPool forWidget(Widget widget)
public static ColorPool forWidget(ControlWrapper wrapper)