PropertyEditor
, Converter
public class EnumConverter extends AbstractConverter
Constructor | Description |
---|---|
EnumConverter(Class type) |
Modifier and Type | Method | Description |
---|---|---|
protected Object |
toObjectImpl(String text) |
Converts the supplied text in to an instance of the editor type.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toString, toStringImpl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public EnumConverter(Class type)
protected Object toObjectImpl(String text)
AbstractConverter
toObjectImpl
in class AbstractConverter
text
- the text to convertCopyright © 2005–2018. All rights reserved.