public class FloatProperty extends AbstractNumericProperty<Float>
| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptorFactory |
FACTORY |
numberFieldTypesByKey| Constructor and Description |
|---|
FloatProperty(String theName,
String theDescription,
Float min,
Float max,
Float theDefault,
float theUIOrder)
Constructor for FloatProperty that limits itself to a single value within the specified limits.
|
FloatProperty(String theName,
String theDescription,
String minStr,
String maxStr,
String defaultStr,
float theUIOrder)
Constructor for FloatProperty that limits itself to a single value within the specified limits.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createFrom(String value)
Creates an property value of the right type from a raw string.
|
static Float |
floatFrom(String numberString) |
Class<Float> |
type()
Denotes the value datatype.
|
addAttributesTo, defaultAsString, lowerLimit, rangeString, upperLimit, valueErrorForarrayFor, valueFromareEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorForclone, finalize, getClass, notify, notifyAll, wait, wait, waitasDelimitedString, attributeValuesById, choices, defaultValue, description, errorFor, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, uiOrder, valueFromcompareTopublic static final PropertyDescriptorFactory FACTORY
public FloatProperty(String theName, String theDescription, Float min, Float max, Float theDefault, float theUIOrder)
theName - StringtheDescription - Stringmin - floatmax - floattheDefault - floattheUIOrder - floatIllegalArgumentExceptionpublic FloatProperty(String theName, String theDescription, String minStr, String maxStr, String defaultStr, float theUIOrder)
theName - StringtheDescription - StringminStr - StringmaxStr - StringdefaultStr - StringtheUIOrder - floatIllegalArgumentExceptionpublic static Float floatFrom(String numberString)
numberString - Stringpublic Class<Float> type()
PropertyDescriptorPropertyDescriptor.type()protected Object createFrom(String value)
createFrom in class AbstractScalarProperty<Float>value - StringCopyright © 2002-2014 InfoEther. All Rights Reserved.