Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

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.

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.

boolean cern::gp::beans::editors::support::ColoredEditorSupport::isPaintable  )  [inline]
 

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 on Thu Apr 30 03:08:17 2009 for ACS Java API by doxygen 1.3.8