public class PropertyEditorConverter extends AbstractConverter
| Constructor and Description |
|---|
PropertyEditorConverter(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
Object |
toObjectImpl(String text)
Converts the supplied text in to an instance of the editor type.
|
String |
toStringImpl(Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toStringaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditorpublic PropertyEditorConverter(Class<?> type)
public String toStringImpl(Object value) throws PropertyEditorException
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor typePropertyEditorExceptionpublic Object toObjectImpl(String text) throws PropertyEditorException
AbstractConvertertoObjectImpl in class AbstractConvertertext - the text to convertPropertyEditorExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.