public class FloatMultiProperty extends AbstractMultiNumericProperty<java.lang.Float[]>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
numberFieldTypesByKey
Constructor and Description |
---|
FloatMultiProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Float min,
java.lang.Float max,
java.lang.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 java.lang.Object[] |
arrayFor(int size)
Returns an array of the correct type for the receiver.
|
protected java.lang.Object |
createFrom(java.lang.String value)
Creates an property value of the right type from a raw string.
|
java.lang.Class<java.lang.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
public static final PropertyDescriptorFactory FACTORY
public FloatMultiProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Float min, java.lang.Float max, java.lang.Float[] defaultValues, float theUIOrder)
theName
- StringtheDescription
- Stringmin
- Floatmax
- FloatdefaultValues
- Float[]theUIOrder
- floatjava.lang.IllegalArgumentException
public java.lang.Class<java.lang.Float[]> type()
PropertyDescriptor
PropertyDescriptor.type()
protected java.lang.Object createFrom(java.lang.String value)
createFrom
in class AbstractScalarProperty<java.lang.Float[]>
value
- Stringprotected java.lang.Object[] arrayFor(int size)
arrayFor
in class AbstractScalarProperty<java.lang.Float[]>
size
- intCopyright © 2002-2014 InfoEther. All Rights Reserved.