|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rational.test.ft.value.ConstrainedInteger
public class ConstrainedInteger
Enforces a range of values within which a particular property (or attribute of a property) can be defined. The editor rejects any attempts to change the value to a number outside the specified range.
Note that this class exists solely as a container for integer values with strict boundaries that the property editor must enforce. Although a value manager exists for this type, the intended use is for generalized display support and not as a true property value.
Constructor Summary | |
---|---|
ConstrainedInteger(int value, int loBound, int hiBound)
Enforces the boundaries within which the specified value must be contained. |
Method Summary | |
---|---|
int |
getHiBound()
Gets the high end of the bounded range. |
int |
getLoBound()
Gets the low end of the bounded range. |
int |
getValue()
Accesses the bounded value. |
void |
setValue(int value)
Sets the bounded value. |
java.lang.String |
toString()
Sets the textual representation of the bounded value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstrainedInteger(int value, int loBound, int hiBound)
loBound
or greater than
the hiBound
.
Method Detail |
---|
public int getValue()
public void setValue(int value)
public int getLoBound()
public int getHiBound()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |