public class FloatMultiProperty extends AbstractMultiNumericProperty<Float[]>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
numberFieldTypesByKey
Constructor and Description |
---|
FloatMultiProperty(String theName,
String theDescription,
Float min,
Float max,
Float[] defaultValues,
float theUIOrder)
Constructor for FloatProperty that configures it to accept multiple values and any number of defaults.
|
Modifier and Type | Method and Description |
---|---|
protected Object[] |
arrayFor(int size)
Returns an array of the correct type for the receiver.
|
protected Object |
createFrom(String value)
Creates an property value of the right type from a raw string.
|
Class<Float[]> |
type()
Denotes the value datatype.
|
defaultAsString, isMultiValue
addAttributesTo, lowerLimit, rangeString, upperLimit, valueErrorFor
valueFrom
areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorFor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asDelimitedString, attributeValuesById, choices, defaultValue, description, errorFor, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, uiOrder, valueFrom
compareTo
public static final PropertyDescriptorFactory FACTORY
public FloatMultiProperty(String theName, String theDescription, Float min, Float max, Float[] defaultValues, float theUIOrder)
theName
- StringtheDescription
- Stringmin
- Floatmax
- FloatdefaultValues
- Float[]theUIOrder
- floatIllegalArgumentException
public Class<Float[]> type()
PropertyDescriptor
PropertyDescriptor.type()
protected Object createFrom(String value)
createFrom
in class AbstractScalarProperty<Float[]>
value
- Stringprotected Object[] arrayFor(int size)
arrayFor
in class AbstractScalarProperty<Float[]>
size
- intCopyright © 2002-2014 InfoEther. All Rights Reserved.