Public Member Functions | |
ColoredIntegerEditor () | |
void | setAsText (String text) |
Color | getBackgroundColor () |
Color | getForegroundColor () |
boolean | isPaintable () |
void | paintValue (Graphics gfx, Rectangle rect) |
Private Attributes | |
final ColoredEditorHelper | helper |
|
Creates a new instance of ColoredInteger |
|
based on the Integer value, this method returns the background color. THe color is null if the value is 0, cyan if the value is dividable by 2 and magenta if not
|
|
|
|
|
|
|
|
sets the Integer value from a text |
|
|