public class NumberEditor extends AbstractPropertyEditor
| Constructor and Description |
|---|
NumberEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
defaultValue() |
protected String |
toText(Object value)
Returns a String representation of the given value
|
protected Object |
toValue(String text)
Returns an instance from a String representation of an object
|
protected Object |
toValue(String text,
int radix) |
defaultText, getAsText, getValue, setAsText, setTrimText, setValueaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorprotected final String toText(Object value)
AbstractPropertyEditortoText in class AbstractPropertyEditorvalue - The valueprotected final Object toValue(String text) throws IllegalArgumentException
AbstractPropertyEditortoValue in class AbstractPropertyEditortext - The String representation to convertIllegalArgumentExceptionprotected Object defaultValue()
defaultValue in class AbstractPropertyEditorCopyright © 2004–2023 Apache MINA Project. All rights reserved.