Public Member Functions | |
| void | paintValue (Graphics g, Rectangle rectangle) |
| boolean | isPaintable () |
| abstract Color | getBackgroundColor () |
| abstract Color | getForegroundColor () |
Static Public Member Functions | |
| static void | paintValue (Graphics g, Rectangle rectangle, String text, Color backGround, Color foreGround) |
An editor base class for building editors that color the field they edit when it has been changed
| abstract Color cern.gp.beans.editors.support.ColoredEditorSupport.getBackgroundColor | ( | ) | [pure virtual] |
the background color to be used or null for no change in color
Implements cern.gp.beans.editors.support.ColorMaster.
Referenced by cern.gp.beans.editors.support.ColoredEditorSupport.isPaintable(), and cern.gp.beans.editors.support.ColoredEditorSupport.paintValue().
| abstract Color cern.gp.beans.editors.support.ColoredEditorSupport.getForegroundColor | ( | ) | [pure virtual] |
the foreground color to be used or null for no change in color
Implements cern.gp.beans.editors.support.ColorMaster.
Referenced by cern.gp.beans.editors.support.ColoredEditorSupport.isPaintable(), and cern.gp.beans.editors.support.ColoredEditorSupport.paintValue().
| boolean cern.gp.beans.editors.support.ColoredEditorSupport.isPaintable | ( | ) |
| static void cern.gp.beans.editors.support.ColoredEditorSupport.paintValue | ( | Graphics | g, | |
| Rectangle | rectangle, | |||
| String | text, | |||
| Color | backGround, | |||
| Color | foreGround | |||
| ) | [static] |
a static version of the paintValue method that can be called from other places
| graphics | the graphics on which to drow | |
| rectangle | the rectangle to fill | |
| text | the text to display |
| void cern.gp.beans.editors.support.ColoredEditorSupport.paintValue | ( | Graphics | g, | |
| Rectangle | rectangle | |||
| ) |
1.7.0