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) |
Private Member Functions | |
| JButton | getButton () |
| JButton | createButton () |
Private Attributes | |
| JButton | button |
| PropertyEnv | propertyEnv |
Static Private Attributes | |
| final int | LABEL_OFFSET = 3 |
For example, if you want to have a button with the label "accept",
boolean to your bean, define void setAccept(boolean) and boolean getAccept(void) accessor methods ButtonEditor by overriding the method public PropertyInfo[] getPropertyInfo() in your bean
|
|
|
|
|
|
|
|
lazy creator class. Should be called only after attachEnv(PropertyEnv)
|
|
|
|
|
|
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...
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8