|
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.EnumerationType
public class EnumerationType
Expresses primimtve values (such as the month in a date) as the logical enumeration types they represent.
| Constructor Summary | |
|---|---|
EnumerationType(int current,
java.lang.String[] enumeration)
Presents the possible values as the enumeration and the
current index. |
|
EnumerationType(int current,
java.lang.String[] enumeration,
boolean editable)
Presents the possible values as the enumeration and the
current index. |
|
EnumerationType(int current,
java.lang.String text,
java.lang.String[] enumeration)
Presents the possible values as the enumeration and the
current and text index. |
|
EnumerationType(int current,
java.lang.String text,
java.lang.String[] enumeration,
boolean editable)
Presents the possible values as the enumeration and the
current and text index. |
|
EnumerationType(int current,
java.lang.String text,
java.lang.String[] enumeration,
boolean editable,
boolean overrideLimit)
Presents the possible values as the enumeration and the
current and text index. |
|
| Method Summary | |
|---|---|
boolean |
addEnumerationLiteral(java.lang.String literal)
Adds an enumeration literal not in enumeration. |
int |
getCurrentIndex()
Gets the current index into the enumeration. |
java.lang.String |
getCurrentText()
Gets the text associated with the current index. |
boolean |
getEditable()
Determines whether a new enumeration literal not in enumeration
can be added and set as the selected literal |
java.lang.String[] |
getEnumerationLiterals()
Gets the enumeration literals associated with this enumeration type. |
void |
setEnumerationLiterals(java.lang.String[] enumeration)
Defines the enumeration literals associated with this enumeration type. |
void |
setSelectedLiteral(int currentIndex)
Sets the current index into the enumeration. |
java.lang.String |
toString()
Returns a string with the value the class represents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationType(int current,
java.lang.String[] enumeration)
enumeration and the
current index.
public EnumerationType(int current,
java.lang.String text,
java.lang.String[] enumeration)
enumeration and the
current and text index.
public EnumerationType(int current,
java.lang.String[] enumeration,
boolean editable)
enumeration and the
current index.
public EnumerationType(int current,
java.lang.String text,
java.lang.String[] enumeration,
boolean editable)
enumeration and the
current and text index.
public EnumerationType(int current,
java.lang.String text,
java.lang.String[] enumeration,
boolean editable,
boolean overrideLimit)
enumeration and the
current and text index.
| Method Detail |
|---|
public int getCurrentIndex()
public void setSelectedLiteral(int currentIndex)
public java.lang.String[] getEnumerationLiterals()
public void setEnumerationLiterals(java.lang.String[] enumeration)
public java.lang.String getCurrentText()
public boolean getEditable()
enumeration
can be added and set as the selected literal
public boolean addEnumerationLiteral(java.lang.String literal)
enumeration.
The existing enumeration literals are removed and the added literal is the
selected literal.
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 | |||||||||