public class EnumEditor extends AbstractPropertyEditor
| Constructor and Description |
|---|
EnumEditor(Class enumType) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
toText(Object value) |
protected Object |
toValue(String text) |
defaultText, defaultValue, getAsText, getValue, setAsText, setTrimText, setValueaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorpublic EnumEditor(Class enumType)
protected String toText(Object value)
toText in class AbstractPropertyEditorprotected Object toValue(String text) throws IllegalArgumentException
toValue in class AbstractPropertyEditorIllegalArgumentExceptionCopyright © 2004–2016. All rights reserved.