Public Member Functions | Protected Member Functions

cern.gp.beans.editors.CheckBoxEditor Class Reference

Inherits java::beans::PropertyEditorSupport, org::openide::explorer::propertysheet::editors::EnhancedPropertyEditor, and org::openide::explorer::propertysheet::ExPropertyEditor.

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)

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 (  ) 

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  ) 
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  ) 
boolean cern.gp.beans.editors.CheckBoxEditor.getBoolValue (  )  [protected]

Returns value of the property as boolean

Returns:
value of the property

Referenced by cern.gp.beans.editors.CheckBoxEditor.getInPlaceCustomEditor(), and cern.gp.beans.editors.CheckBoxEditor.paintValue().

Component cern.gp.beans.editors.CheckBoxEditor.getInPlaceCustomEditor (  ) 
boolean cern.gp.beans.editors.CheckBoxEditor.hasInPlaceCustomEditor (  ) 
boolean cern.gp.beans.editors.CheckBoxEditor.isPaintable (  ) 
void cern.gp.beans.editors.CheckBoxEditor.paintValue ( java.awt.Graphics  gfx,
java.awt.Rectangle  box 
)
void cern.gp.beans.editors.CheckBoxEditor.setBackground ( Color  color  ) 
void cern.gp.beans.editors.CheckBoxEditor.setBoolValue ( boolean  newValue  )  [protected]
void cern.gp.beans.editors.CheckBoxEditor.setNodeProperty ( boolean  newValue,
Node.Property  fd 
) throws IllegalAccessException, InvocationTargetException [protected]
boolean cern.gp.beans.editors.CheckBoxEditor.supportsEditingTaggedValues (  ) 

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