IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.script
Class ToolTipText

java.lang.Object   extended by com.rational.test.ft.script.Subitem
      extended by com.rational.test.ft.script.Value
          extended by com.rational.test.ft.script.ToolTipText

public class ToolTipText
extends Value

Adds definition to a simple String value. ToolTipText values are significant relative to a particular component.

Since:
RFT1.0

Field Summary
 
Fields inherited from class com.rational.test.ft.script.Value
debug, value
 
Constructor Summary
ToolTipText(java.lang.String text)
          Takes a required String value.
ToolTipText(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 getToolTipText()
          Accesses the ToolTipText 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

ToolTipText

public ToolTipText(java.lang.String text)
Takes a required String value.

Since:
RFT1.0

ToolTipText

public ToolTipText(java.lang.String text,                    int index)
Takes the required 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.

Since:
RFT1.0
Method Detail

getToolTipText

public java.lang.String getToolTipText()
Accesses the ToolTipText value.

Since:
RFT1.0

getIndex

public int getIndex()
Accesses the text index value.

Since:
RFT1.0

equals

public boolean equals(java.lang.Object obj)
Compares Text values.

Overrides:
equals in class Value
Parameters:
obj - the right side of the comparison
Since:
RFT1.0

toString

public java.lang.String toString()
Sets toString to the value that this class represents.

Overrides:
toString in class Value
Since:
RFT1.0