PropertyEditor
public class EnumEditor extends AbstractPropertyEditor
Constructor | Description |
---|---|
EnumEditor(Class enumType) |
Modifier and Type | Method | Description |
---|---|---|
protected String |
toText(Object value) |
|
protected Object |
toValue(String text) |
defaultText, defaultValue, getAsText, getValue, setAsText, setTrimText, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public EnumEditor(Class enumType)
protected String toText(Object value)
toText
in class AbstractPropertyEditor
protected Object toValue(String text) throws IllegalArgumentException
toValue
in class AbstractPropertyEditor
IllegalArgumentException
Copyright © 2004–2018 Apache MINA Project. All rights reserved.