org.riotfamily.common.beans.propertyeditors
Class BooleanEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.riotfamily.common.beans.propertyeditors.BooleanEditor
- All Implemented Interfaces:
- PropertyEditor
public class BooleanEditor
- extends PropertyEditorSupport
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALUE_TRUE
public static final String VALUE_TRUE
- See Also:
- Constant Field Values
VALUE_FALSE
public static final String VALUE_FALSE
- See Also:
- Constant Field Values
BooleanEditor
public BooleanEditor()
BooleanEditor
public BooleanEditor(boolean defaultValue)
BooleanEditor
public BooleanEditor(Boolean defaultValue)
setDefaultValue
public void setDefaultValue(Boolean defaultValue)
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport