|
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.script.Subitem
com.rational.test.ft.script.Value
com.rational.test.ft.script.Text
public class Text
Adds definition to a simple String value. Text values are
significant relative to a particular component.
| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.script.Value |
|---|
debug, value |
| Constructor Summary | |
|---|---|
Text(java.lang.String text)
Takes a required String value. |
|
Text(java.lang.String text, int index)
Takes the required String value as well as an index that specifies which subitem
should be used. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares Text values. |
int |
getIndex()
Accesses the text index value. |
java.lang.String |
getText()
Accesses the Text value. |
java.lang.String |
toString()
Sets toString to the value that this class represents. |
| Methods inherited from class com.rational.test.ft.script.Value |
|---|
getValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Text(java.lang.String text)
String value.
public Text(java.lang.String text, int index)
String value as well as an index that specifies which subitem
should be used. The index value is zero based, that is, the first
instance of String is 0, the second is 1, and so on.
| Method Detail |
|---|
public java.lang.String getText()
Text value.
public int getIndex()
index value.
public boolean equals(java.lang.Object obj)
Text values.
equals in class Valueobj - the right side of the comparisonpublic java.lang.String toString()
toString to the value that this class represents.
toString in class Value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||