org.apache.mina.integration.beans
Class FloatEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.mina.integration.beans.AbstractPropertyEditor
org.apache.mina.integration.beans.NumberEditor
org.apache.mina.integration.beans.FloatEditor
- All Implemented Interfaces:
- PropertyEditor
public class FloatEditor
- extends NumberEditor
A PropertyEditor
which converts a String
into
an Float
and vice versa.
- Version:
- $Revision: 601229 $, $Date: 2007-12-05 08:13:18 +0100 (mer, 05 déc 2007) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
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 |
FloatEditor
public FloatEditor()
toValue
protected Object toValue(String text,
int radix)
- Overrides:
toValue
in class NumberEditor
defaultValue
protected Object defaultValue()
- Overrides:
defaultValue
in class NumberEditor
Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.