T - public abstract class AbstractNumericProperty<T> extends AbstractScalarProperty<T> implements NumericPropertyDescriptor<T>
| Modifier and Type | Field and Description |
|---|---|
static Map<String,Boolean> |
numberFieldTypesByKey |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNumericProperty(String theName,
String theDescription,
Number lower,
Number upper,
T theDefault,
float theUIOrder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttributesTo(Map<String,String> attributes)
Method addAttributesTo.
|
protected String |
defaultAsString() |
Number |
lowerLimit()
Returns the minimum value that instances of the property can have
|
String |
rangeString() |
Number |
upperLimit()
Returns the maximum value that instances of the property can have
|
protected String |
valueErrorFor(Object value)
Returns a string describing any error the value may have when
characterized by the receiver.
|
arrayFor, createFrom, valueFromareEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorForclone, finalize, getClass, notify, notifyAll, wait, wait, waitasDelimitedString, attributeValuesById, choices, defaultValue, description, errorFor, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, type, uiOrder, valueFromcompareTopublic Number lowerLimit()
lowerLimit in interface NumericPropertyDescriptor<T>NumericPropertyDescriptor.lowerLimit()protected String defaultAsString()
defaultAsString in class AbstractProperty<T>public Number upperLimit()
upperLimit in interface NumericPropertyDescriptor<T>NumericPropertyDescriptor.upperLimit()public String rangeString()
protected String valueErrorFor(Object value)
valueErrorFor in class AbstractProperty<T>value - Objectprotected void addAttributesTo(Map<String,String> attributes)
addAttributesTo in class AbstractProperty<T>attributes - MapCopyright © 2002-2014 InfoEther. All Rights Reserved.