public class IntegerProperty extends AbstractNumericProperty<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
numberFieldTypesByKey
Constructor and Description |
---|
IntegerProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Integer min,
java.lang.Integer max,
java.lang.Integer theDefault,
float theUIOrder)
Constructor for IntegerProperty that limits itself to a single value within the specified limits.
|
IntegerProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String minStr,
java.lang.String maxStr,
java.lang.String defaultStr,
float theUIOrder)
Constructor for IntegerProperty that limits itself to a single value within the specified limits.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
createFrom(java.lang.String value) |
static java.lang.Integer |
intFrom(java.lang.String numberString) |
java.lang.Class<java.lang.Integer> |
type()
Denotes the value datatype.
|
addAttributesTo, defaultAsString, lowerLimit, rangeString, upperLimit, valueErrorFor
arrayFor, valueFrom
areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorFor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asDelimitedString, attributeValuesById, choices, defaultValue, description, errorFor, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, uiOrder, valueFrom
public static final PropertyDescriptorFactory FACTORY
public IntegerProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Integer min, java.lang.Integer max, java.lang.Integer theDefault, float theUIOrder)
theName
- StringtheDescription
- Stringmin
- Integermax
- IntegertheDefault
- IntegertheUIOrder
- floatjava.lang.IllegalArgumentException
public IntegerProperty(java.lang.String theName, java.lang.String theDescription, java.lang.String minStr, java.lang.String maxStr, java.lang.String defaultStr, float theUIOrder)
theName
- StringtheDescription
- StringminStr
- StringmaxStr
- StringdefaultStr
- StringtheUIOrder
- java.lang.IllegalArgumentException
public static java.lang.Integer intFrom(java.lang.String numberString)
numberString
- Stringpublic java.lang.Class<java.lang.Integer> type()
PropertyDescriptor
PropertyDescriptor.type()
protected java.lang.Object createFrom(java.lang.String value)
createFrom
in class AbstractScalarProperty<java.lang.Integer>
value
- StringCopyright © 2002-2014 InfoEther. All Rights Reserved.