cern::gp::beans::editors::support::ColoredEditorSupport Class Reference

Inheritance diagram for cern::gp::beans::editors::support::ColoredEditorSupport:
Inheritance graph
[legend]
Collaboration diagram for cern::gp::beans::editors::support::ColoredEditorSupport:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

An editor base class for building editors that color the field they edit when it has been changed

Author:
Vito Baggiolini
Version:
Revision
1.2
Date
2006/09/25 08:52:36

Member Function Documentation

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 isPaintable(), and 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 isPaintable(), and paintValue().

boolean cern::gp::beans::editors::support::ColoredEditorSupport::isPaintable (  )  [inline]
static void cern::gp::beans::editors::support::ColoredEditorSupport::paintValue ( Graphics  g,
Rectangle  rectangle,
String  text,
Color  backGround,
Color  foreGround 
) [inline, static]

a static version of the paintValue method that can be called from other places

Parameters:
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 
) [inline]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2