public class EnumConverter extends AbstractConverter
| Constructor and Description |
|---|
EnumConverter(Class type) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
toObjectImpl(String text)
Converts the supplied text in to an instance of the editor type.
|
protected 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 EnumConverter(Class type)
protected String toStringImpl(Object value)
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor typeprotected Object toObjectImpl(String text)
AbstractConvertertoObjectImpl in class AbstractConvertertext - the text to convertCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.