|
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.CaptionText
public class CaptionText
Encapsulates a window caption. This class is needed so that comparisons can be performed against objects of this type. Captions can contain variable information, such as file names. The variable information that is used typically depends on the application switch settings. Using this class allows the variable information to be ignored when it follows common caption formats such as:
RegularExpression
support, common caption encodings can easily be compared in a meaningful way.
Constructor Summary | |
---|---|
CaptionText(java.lang.String caption)
Constructs a CaptionText wrapper class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object right)
Overrides the default Object.equals to provide a more interesting caption-specific result. |
java.lang.String |
getCaption()
Returns the caption text encapsulated by this class. |
void |
setCaption(java.lang.String caption)
Overrides the previously defined caption text encapsulated by this class. |
java.lang.String |
toString()
Overrides the default Object.toString to provide a more interesting caption-specific result. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CaptionText(java.lang.String caption)
CaptionText
wrapper class. The caption text is wrapped so that more interesting kinds of comparisons can be performed on this text, rather than just straight character-by-character comparisons.
Method Detail |
---|
public java.lang.String getCaption()
public void setCaption(java.lang.String caption)
caption
- the caption text to be usedpublic boolean equals(java.lang.Object right)
Object.equals
to provide a more interesting caption-specific result.
equals
in class java.lang.Object
right
- the right side of the equals comparison public java.lang.String toString()
Object.toString
to provide a more interesting caption-specific result.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |