net.sf.doolin.util.unit
Class ValueUnitEditor
java.lang.Object
java.beans.PropertyEditorSupport
net.sf.doolin.util.unit.ValueUnitEditor
- All Implemented Interfaces:
- PropertyEditor
public class ValueUnitEditor
- extends PropertyEditorSupport
Bean editor for the ValueUnit.
- Author:
- Damien Coraboeuf
- See Also:
ValueUnit
| 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 |
ValueUnitEditor
public ValueUnitEditor()
getAsText
public String getAsText()
- Specified by:
getAsText in interface PropertyEditor- Overrides:
getAsText in class PropertyEditorSupport
- See Also:
ValueUnit.toString(),
PropertyEditorSupport.getAsText()
setAsText
public void setAsText(String text)
throws IllegalArgumentException
- Specified by:
setAsText in interface PropertyEditor- Overrides:
setAsText in class PropertyEditorSupport
- Throws:
IllegalArgumentException- See Also:
ValueUnit.valueOf(String),
PropertyEditorSupport.setAsText(java.lang.String)
Copyright © 2011. All Rights Reserved.