|
|||||||||
| Home >> All >> org >> progeeks >> meta >> swing >> [ editor overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.progeeks.meta.swing.editor
Class BooleanEditor

java.lang.Objectorg.progeeks.meta.swing.AbstractPropertyUI
org.progeeks.meta.swing.AbstractPropertyEditor
org.progeeks.meta.swing.editor.BooleanEditor
- All Implemented Interfaces:
- org.progeeks.meta.swing.MetaPropertyEditor, org.progeeks.meta.swing.MetaPropertyUI
- public class BooleanEditor
- extends org.progeeks.meta.swing.AbstractPropertyEditor
An editor implementation for Boolean values.
- Version:
- $Revision: 1.2 $
| Nested Class Summary | |
private class |
BooleanEditor.EditorListener
|
| Nested classes inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
|
| Field Summary | |
private javax.swing.JCheckBox |
component
|
private BooleanEditor.EditorListener |
editListener
|
| Fields inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
|
| Constructor Summary | |
BooleanEditor()
|
|
| Method Summary | |
protected void |
componentChanged()
|
java.awt.Component |
getUIComponent()
Returns the component that allows modification of the associated property mutator. |
boolean |
isLabeled()
Returns true if the editor provides its own label. |
protected void |
releaseComponent()
Implemented by subclasses to release any component-related resources. |
protected void |
resetComponentValue()
Called to set the component value to a default state. |
protected void |
setComponentValue(java.lang.Object value)
Called to set the current value displayed in the component. |
void |
setPropertyMutator(org.progeeks.meta.PropertyMutator mutator)
Called when the property mutator changes. |
| Methods inherited from class org.progeeks.meta.swing.AbstractPropertyEditor |
flushEdits |
| Methods inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
getPropertyMutator, isSingleColumn, propertyChanged, release, setPropertyValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.progeeks.meta.swing.MetaPropertyUI |
isSingleColumn, release |
| Field Detail |
component
private javax.swing.JCheckBox component
editListener
private BooleanEditor.EditorListener editListener
| Constructor Detail |
BooleanEditor
public BooleanEditor()
| Method Detail |
setPropertyMutator
public void setPropertyMutator(org.progeeks.meta.PropertyMutator mutator)
- Called when the property mutator changes. This implementation
calls the superclass implementation and then uses the mutator's
property info to set the check-box label.
isLabeled
public boolean isLabeled()
- Returns true if the editor provides its own label.
Check boxes label themselves, so this returns true.
getUIComponent
public java.awt.Component getUIComponent()
- Returns the component that allows modification of the
associated property mutator.
releaseComponent
protected void releaseComponent()
- Implemented by subclasses to release any component-related
resources.
setComponentValue
protected void setComponentValue(java.lang.Object value)
- Called to set the current value displayed in the component.
resetComponentValue
protected void resetComponentValue()
- Called to set the component value to a default state.
The default implementation calls setComponentValue(null).
componentChanged
protected void componentChanged()
|
|||||||||
| Home >> All >> org >> progeeks >> meta >> swing >> [ editor overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC