|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IValidRange
This interface is used to specify the range of values that are allowed for a configuration property that contains Integer or Double values.
IConfigProperty.getValidRanges()| Method Summary | |
|---|---|
double |
getMaxDouble()
Returns the upper bound of the range as a double value. |
int |
getMaxInteger()
Returns the upper bound of the range as an integer value. |
double |
getMinDouble()
Returns the lower bound of the range as a double value. |
int |
getMinInteger()
Returns the lower bound of the range as an integer value. |
boolean |
isDouble()
Returns whether the bounds of the range are double values. |
void |
setRange(double min,
double max)
Sets the lower and upper bounds of the range to the specified double values. |
void |
setRange(int min,
int max)
Sets the lower and upper bounds of the range to the specified integer values. |
| Method Detail |
|---|
int getMinInteger()
double getMinDouble()
int getMaxInteger()
double getMaxDouble()
void setRange(int min,
int max)
min - The lower bound for the rangemax - The upper bound for the range
void setRange(double min,
double max)
min - The lower bound for the rangemax - The upper bound for the rangeboolean isDouble()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||