|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.PropertyEditorSupport
org.apache.mina.integration.beans.AbstractPropertyEditor
org.apache.mina.integration.beans.NumberEditor
public class NumberEditor
A PropertyEditor
which converts a String
into
a Number
and vice versa.
Constructor Summary | |
---|---|
NumberEditor()
|
Method Summary | |
---|---|
protected java.lang.Object |
defaultValue()
|
protected java.lang.String |
toText(java.lang.Object value)
|
protected java.lang.Object |
toValue(java.lang.String text)
|
protected java.lang.Object |
toValue(java.lang.String text,
int radix)
|
Methods inherited from class org.apache.mina.integration.beans.AbstractPropertyEditor |
---|
defaultText, getAsText, getValue, setAsText, setTrimText, setValue |
Methods inherited from class java.beans.PropertyEditorSupport |
---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberEditor()
Method Detail |
---|
protected final java.lang.String toText(java.lang.Object value)
toText
in class AbstractPropertyEditor
protected final java.lang.Object toValue(java.lang.String text) throws java.lang.IllegalArgumentException
toValue
in class AbstractPropertyEditor
java.lang.IllegalArgumentException
protected java.lang.Object toValue(java.lang.String text, int radix)
protected java.lang.Object defaultValue()
defaultValue
in class AbstractPropertyEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |