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

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

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.


Member Function Documentation

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

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

Returns value of the property as boolean

Returns:
value of the property

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]
 

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

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

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

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


Member Data Documentation

boolean cern::gp::beans::editors::CheckBoxEditor::editableMode [private]
 

JCheckBox cern::gp::beans::editors::CheckBoxEditor::editor [private]
 

PropertyEnv cern::gp::beans::editors::CheckBoxEditor::propertyEnv [private]
 

final JCheckBox cern::gp::beans::editors::CheckBoxEditor::renderer [private]
 


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