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

cern::gp::explorer::test::helpers::ColoredIntegerEditor Class Reference

List of all members.

Public Member Functions

 ColoredIntegerEditor ()
void setAsText (String text)
Color getBackgroundColor ()
Color getForegroundColor ()
boolean isPaintable ()
void paintValue (Graphics gfx, Rectangle rect)

Private Attributes

final ColoredEditorHelper helper

Detailed Description

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


Constructor & Destructor Documentation

cern::gp::explorer::test::helpers::ColoredIntegerEditor::ColoredIntegerEditor  )  [inline]
 

Creates a new instance of ColoredInteger


Member Function Documentation

Color cern::gp::explorer::test::helpers::ColoredIntegerEditor::getBackgroundColor  )  [inline]
 

based on the Integer value, this method returns the background color. THe color is null if the value is 0, cyan if the value is dividable by 2 and magenta if not

Returns:
the background color or null for no backgound color

Color cern::gp::explorer::test::helpers::ColoredIntegerEditor::getForegroundColor  )  [inline]
 

boolean cern::gp::explorer::test::helpers::ColoredIntegerEditor::isPaintable  )  [inline]
 

void cern::gp::explorer::test::helpers::ColoredIntegerEditor::paintValue Graphics  gfx,
Rectangle  rect
[inline]
 

void cern::gp::explorer::test::helpers::ColoredIntegerEditor::setAsText String  text  )  [inline]
 

sets the Integer value from a text


Member Data Documentation

final ColoredEditorHelper cern::gp::explorer::test::helpers::ColoredIntegerEditor::helper [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:08:31 2009 for ACS Java API by doxygen 1.3.8