public class FloatProperty extends AbstractScalarProperty
multiValueDelimiter
emptyPropertySet
Constructor and Description |
---|
FloatProperty(java.lang.String theName,
java.lang.String theDescription,
float[] defaultValues,
float theUIOrder,
int theMaxValues)
Constructor for FloatProperty.
|
FloatProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Float[] defaultValues,
float theUIOrder,
int theMaxValues)
Constructor for FloatProperty.
|
FloatProperty(java.lang.String theName,
java.lang.String theDescription,
float theDefault,
float theUIOrder)
Constructor for FloatProperty.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object[] |
arrayFor(int size)
Method arrayFor.
|
protected java.lang.Object |
createFrom(java.lang.String value)
Method createFrom.
|
java.lang.Class<java.lang.Float> |
type()
Method type.
|
valueFrom
areEqual, asDelimitedString, asString, choices, compareTo, defaultValue, description, errorFor, isArray, isRequired, maxValueCount, maxValueCount, multiValueDelimiter, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, typeErrorFor, uiOrder, valueErrorFor
public FloatProperty(java.lang.String theName, java.lang.String theDescription, float theDefault, float theUIOrder)
theName
- StringtheDescription
- StringtheDefault
- floattheUIOrder
- floatpublic FloatProperty(java.lang.String theName, java.lang.String theDescription, float[] defaultValues, float theUIOrder, int theMaxValues)
theName
- StringtheDescription
- StringdefaultValues
- boolean[]theUIOrder
- floattheMaxValues
- intpublic FloatProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Float[] defaultValues, float theUIOrder, int theMaxValues)
theName
- StringtheDescription
- StringdefaultValues
- Float[]theUIOrder
- floattheMaxValues
- intpublic java.lang.Class<java.lang.Float> type()
PropertyDescriptor.type()
protected java.lang.Object createFrom(java.lang.String value)
createFrom
in class AbstractScalarProperty
value
- Stringprotected java.lang.Object[] arrayFor(int size)
arrayFor
in class AbstractScalarProperty
size
- int