Public Member Functions | |
ColoredEditorHelper (PropertyEditor ped, ColorMaster colorMaster) | |
void | paintValue (Graphics g, Rectangle rectangle) |
boolean | isPaintable () |
Private Attributes | |
Color | currentColor |
final ColorMaster | colorMaster |
final PropertyEditor | ped |
This uses the Tie-delegation idiom.
|
Constructor
|
|
the method that determines whether the text shall be drawn using the paintValue() method This method is delegated to from the Editor |
|
method that draws the text retrieved from PropertyEditor with the given background given by ColorMaster. This method is delegated to from the Editor |
|
|
|
|
|
|