com.netbreeze.swing.editors
Class BooleanEditor
java.lang.Object
|
+--java.beans.PropertyEditorSupport
|
+--com.netbreeze.swing.editors.BooleanEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor
- public class BooleanEditor
- extends java.beans.PropertyEditorSupport
JavaBeans PropertyEditor implementation for boolean values.
Basically a checkbox...
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanEditor
public BooleanEditor()
setAsText
public void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
- Overrides:
setAsText in class java.beans.PropertyEditorSupport
getAsText
public java.lang.String getAsText()
- Overrides:
getAsText in class java.beans.PropertyEditorSupport
setValue
public void setValue(java.lang.Object value)
- Overrides:
setValue in class java.beans.PropertyEditorSupport
getBooleanValue
public boolean getBooleanValue()
getCustomEditor
public java.awt.Component getCustomEditor()
- Overrides:
getCustomEditor in class java.beans.PropertyEditorSupport
supportsCustomEditor
public boolean supportsCustomEditor()
- Overrides:
supportsCustomEditor in class java.beans.PropertyEditorSupport