public class PropertyEditorConverter extends AbstractConverter
Constructor and Description |
---|
PropertyEditorConverter(java.lang.Class<?> type) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
toObjectImpl(java.lang.String text)
Converts the supplied text in to an instance of the editor type.
|
java.lang.String |
toStringImpl(java.lang.Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toString
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public java.lang.String toStringImpl(java.lang.Object value) throws PropertyEditorException
AbstractConverter
toStringImpl
in class AbstractConverter
value
- an instance of the editor typePropertyEditorException
public java.lang.Object toObjectImpl(java.lang.String text) throws PropertyEditorException
AbstractConverter
toObjectImpl
in class AbstractConverter
text
- the text to convertPropertyEditorException