cern::gp::beans::editors::CheckBoxEditor Class Reference

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

List of all members.

Public Member Functions

 CheckBoxEditor ()
 CheckBoxEditor (boolean editableMode)
boolean isPaintable ()
void paintValue (java.awt.Graphics gfx, java.awt.Rectangle box)
Component getInPlaceCustomEditor ()
boolean hasInPlaceCustomEditor ()
boolean supportsEditingTaggedValues ()
void attachEnv (PropertyEnv env)
void setBackground (Color color)

Protected Member Functions

void setNodeProperty (boolean newValue, Node.Property fd) throws IllegalAccessException, InvocationTargetException
boolean getBoolValue ()
void setBoolValue (boolean newValue)

Private Attributes

boolean editableMode
PropertyEnv propertyEnv
final JCheckBox renderer
JCheckBox editor

Detailed Description

An editor to place a JCheckBox into a cell of an Explorer. This is to be asociated with a boolean property.

Author:
Vito Baggiolini
Version:
Revision
1.2

,

Date
2006/09/25 08:52:36

,

Author
acaproni

Constructor & Destructor Documentation

cern::gp::beans::editors::CheckBoxEditor::CheckBoxEditor (  )  [inline]

default constructor, opens the Editor already in Editable mode, i.e. the first click on the editor changes the value already

cern::gp::beans::editors::CheckBoxEditor::CheckBoxEditor ( boolean  editableMode  )  [inline]
Parameters:
eitableMode if true, the editor is active on the first click, if not, the user has to click first to be able to change the checkbox.

References renderer.


Member Function Documentation

void cern::gp::beans::editors::CheckBoxEditor::attachEnv ( PropertyEnv  env  )  [inline]

References propertyEnv.

boolean cern::gp::beans::editors::CheckBoxEditor::getBoolValue (  )  [inline, protected]

Returns value of the property as boolean

Returns:
value of the property

Referenced by getInPlaceCustomEditor(), and paintValue().

Component cern::gp::beans::editors::CheckBoxEditor::getInPlaceCustomEditor (  )  [inline]
boolean cern::gp::beans::editors::CheckBoxEditor::hasInPlaceCustomEditor (  )  [inline]
boolean cern::gp::beans::editors::CheckBoxEditor::isPaintable (  )  [inline]
void cern::gp::beans::editors::CheckBoxEditor::paintValue ( java.awt.Graphics  gfx,
java.awt.Rectangle  box 
) [inline]

References getBoolValue(), and renderer.

void cern::gp::beans::editors::CheckBoxEditor::setBackground ( Color  color  )  [inline]

References renderer.

void cern::gp::beans::editors::CheckBoxEditor::setBoolValue ( boolean  newValue  )  [inline, protected]

Referenced by getInPlaceCustomEditor().

void cern::gp::beans::editors::CheckBoxEditor::setNodeProperty ( boolean  newValue,
Node.Property  fd 
) throws IllegalAccessException, InvocationTargetException [inline, protected]

Referenced by getInPlaceCustomEditor().

boolean cern::gp::beans::editors::CheckBoxEditor::supportsEditingTaggedValues (  )  [inline]

Member Data Documentation

Referenced by getInPlaceCustomEditor().

Referenced by getInPlaceCustomEditor().


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

Generated by  doxygen 1.6.2