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, isMultiValueaddAttributesTo, lowerLimit, rangeString, upperLimit, valueErrorForvalueFromareEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorForclone, finalize, getClass, notify, notifyAll, wait, wait, waitasDelimitedString, attributeValuesById, choices, defaultValue, description, errorFor, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, uiOrder, valueFromcompareTopublic 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 - floatIllegalArgumentExceptionpublic Class<Float[]> type()
PropertyDescriptorPropertyDescriptor.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.