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, toStringaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorpublic java.lang.String toStringImpl(java.lang.Object value)
throws PropertyEditorException
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor typePropertyEditorExceptionpublic java.lang.Object toObjectImpl(java.lang.String text)
throws PropertyEditorException
AbstractConvertertoObjectImpl in class AbstractConvertertext - the text to convertPropertyEditorException