|
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.Object com.rational.test.ft.script.State
public class State
Describes the state of a checkbox in the software under test.
Method Summary | |
---|---|
static State |
construct(int state)
Serializes a State object; should not be used directly. |
boolean |
equals(java.lang.Object right)
Compares state values. |
int |
getState()
Used in serialization of a State object; should not be used directly. |
static java.lang.String[] |
getStateText()
Specifies the names used in the editing of the state setting; is a name array. |
static State |
indeterminate()
Creates an INDETERMINATE state object. |
boolean |
isIndeterminate()
Returns true if this state represents an
INDETERMINATE state. |
boolean |
isNotSelected()
Returns true if this state represents a NOT_SELECTED state. |
boolean |
isSelected()
Returns true if this state represents a SELECTED state. |
static State |
notSelected()
Creates a NOT_SELECTED state object. |
static State |
selected()
Creates a SELECTED state object. |
java.lang.String |
toString()
Sets toString to the value that this class represents. |
void |
updateState(int newState)
Updates the internal state setting appropriately. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static State notSelected()
NOT_SELECTED
state object.
public boolean isNotSelected()
true
if this state represents a NOT_SELECTED
state.
public static State selected()
SELECTED
state object.
public boolean isSelected()
true
if this state represents a SELECTED
state.
public static State indeterminate()
INDETERMINATE
state object.
public boolean isIndeterminate()
true
if this state represents an
INDETERMINATE
state.
public static State construct(int state)
State
object; should not be used directly.
public int getState()
State
object; should not be used directly.
public static java.lang.String[] getStateText()
public void updateState(int newState)
public java.lang.String toString()
toString
to the value that this class represents.
toString
in class java.lang.Object
public boolean equals(java.lang.Object right)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |