public static class NumberPropertyEditor.FloatPropertyEditor extends NumberPropertyEditor<Float>
Float
.NumberPropertyEditor.BigDecimalPropertyEditor, NumberPropertyEditor.BigIntegerPropertyEditor, NumberPropertyEditor.DoublePropertyEditor, NumberPropertyEditor.FloatPropertyEditor, NumberPropertyEditor.IntegerPropertyEditor, NumberPropertyEditor.LongPropertyEditor, NumberPropertyEditor.ShortPropertyEditor
alphaRegex, currencySymbolRegex, format, groupSeparator, numbers
DEFAULT
Constructor and Description |
---|
FloatPropertyEditor()
Creates a number property editor for use with
Float . |
FloatPropertyEditor(NumberFormat format)
Creates a number property editor for use with
Float that uses the
specified format when converting to (or from) a string. |
Modifier and Type | Method and Description |
---|---|
Float |
doDecr(Float value) |
Float |
doIncr(Float value) |
protected Float |
parseString(String string) |
protected Float |
returnTypedValue(Number number) |
decr, getFormat, getIncrement, incr, parse, render, setFormat, setIncrement, stripValue
render
public FloatPropertyEditor()
Float
.public FloatPropertyEditor(NumberFormat format)
Float
that uses the
specified format when converting to (or from) a string.format
- the format to use when converting to (or from) a stringpublic Float doDecr(Float value)
doDecr
in class NumberPropertyEditor<Float>
public Float doIncr(Float value)
doIncr
in class NumberPropertyEditor<Float>
protected Float parseString(String string)
parseString
in class NumberPropertyEditor<Float>
protected Float returnTypedValue(Number number)
returnTypedValue
in class NumberPropertyEditor<Float>
Copyright © 2018. All rights reserved.