Example usage for Java org.eclipse.jface.preference ColorSelector fields, constructors, methods, implement or subclass
The text is from its open source code.
String | PROP_COLORCHANGE Property name that signifies the selected color of this ColorSelector has changed. |
ColorSelector(Composite parent) Create a new instance of the receiver and the button that it wrappers in the supplied parent Composite . |
void | addListener(IPropertyChangeListener listener) Adds a property change listener to this ColorSelector . |
Button | getButton() Get the button control being wrappered by the selector. |
RGB | getColorValue() Return the currently displayed color. |
void | setColorValue(RGB rgb) Set the current color value and update the control. |
void | setEnabled(boolean state) Set whether or not the button is enabled. |