Class FloatEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor, PropertyEditor<java.lang.Float>

    public class FloatEditor
    extends PropertyEditorSupport<java.lang.Float>
    A property editor for Integer.
    • Constructor Detail

      • FloatEditor

        public FloatEditor()
    • Method Detail

      • setAsText

        public void setAsText​(java.lang.String text)
        Map the argument text into and Integer using Integer.valueOf.
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Specified by:
        setAsText in interface PropertyEditor<java.lang.Float>
        Specified by:
        setAsText in class PropertyEditorSupport<java.lang.Float>
        Parameters:
        text - The string to be parsed.