public class NumericProperty extends Property<java.lang.Integer>
NumericProperty is the class that implements the property of
type Integer.| Constructor and Description |
|---|
NumericProperty(int index)
Constructor
|
NumericProperty(int index,
int min,
int max)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMax()
Get max limit
|
int |
getMin()
Get min limit
|
int |
set(java.lang.Integer value)
Sets the desired value.
|
public NumericProperty(int index,
int min,
int max)
index - intmin - intmax - intpublic NumericProperty(int index)
index - intConfigException - in case of error, when exceptions are enabled through the ErrorManager singleton.public int set(java.lang.Integer value)
set in class Property<java.lang.Integer>value - Integerint ConfigException.SUCCESS in case of success
otherwise a possible error code, matching one of the ConfigException error constants.public int getMin()
public int getMax()