Public Member Functions | Protected Member Functions

cern.gp.beans.editors.ButtonEditor 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

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

Protected Member Functions

void handleButtonClick (ActionEvent evt)

Detailed Description

A PropertyEditor that puts a JButton into the corresponding Cell of the ExplorerTable or PropertySheet. As any other PropertyEditor, it is associated with a Bean Property:

For example, if you want to have a button with the label "accept",

Author:
Vito Baggiolini
Version:
Revision:
1.2

,

Date:
2006/09/25 08:52:36

,

Author:
acaproni

Member Function Documentation

void cern.gp.beans.editors.ButtonEditor.attachEnv ( PropertyEnv  env  ) 
Component cern.gp.beans.editors.ButtonEditor.getInPlaceCustomEditor (  ) 
void cern.gp.beans.editors.ButtonEditor.handleButtonClick ( ActionEvent  evt  )  [protected]

method called when the user clicks on the JButton. By default, this implementation does a setValue(Boolean.True) on the Bean property associated with the Button.

Override this if you need to do something else when the button is clicked...

Parameters:
evt the ActionEvent generated by the JButton
boolean cern.gp.beans.editors.ButtonEditor.hasInPlaceCustomEditor (  ) 
boolean cern.gp.beans.editors.ButtonEditor.isPaintable (  ) 
void cern.gp.beans.editors.ButtonEditor.paintValue ( java.awt.Graphics  gfx,
java.awt.Rectangle  box 
)
boolean cern.gp.beans.editors.ButtonEditor.supportsEditingTaggedValues (  ) 

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