Public Member Functions | Static Public Member Functions

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

Inheritance diagram for cern.gp.beans.editors.support.ColoredEditorSupport:
cern.gp.beans.editors.support.ColorMaster

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]
abstract Color cern.gp.beans.editors.support.ColoredEditorSupport.getForegroundColor (  )  [pure virtual]
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

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 
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties