public class IntegerProperty extends AbstractScalarProperty
multiValueDelimiter
emptyPropertySet
Constructor and Description |
---|
IntegerProperty(java.lang.String theName,
java.lang.String theDescription,
int[] theDefaults,
float theUIOrder,
int maxCount)
Constructor for IntegerProperty.
|
IntegerProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Integer[] theDefaults,
float theUIOrder,
int maxCount)
Constructor for IntegerProperty.
|
IntegerProperty(java.lang.String theName,
java.lang.String theDescription,
int theDefault,
float theUIOrder)
Constructor for IntegerProperty.
|
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.Integer> |
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 IntegerProperty(java.lang.String theName, java.lang.String theDescription, int theDefault, float theUIOrder)
theName
- StringtheDescription
- StringtheDefault
- inttheUIOrder
- floatpublic IntegerProperty(java.lang.String theName, java.lang.String theDescription, int[] theDefaults, float theUIOrder, int maxCount)
theName
- StringtheDescription
- StringtheDefaults
- int[]theUIOrder
- floatmaxCount
- intpublic IntegerProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Integer[] theDefaults, float theUIOrder, int maxCount)
theName
- StringtheDescription
- StringtheDefaults
- Integer[]theUIOrder
- floatmaxCount
- intpublic java.lang.Class<java.lang.Integer> 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