IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

com.rational.test.ft.object.interfaces
Class TextScrollTestObject

java.lang.Object
  extended bycom.rational.test.ft.object.interfaces.TestObject
      extended bycom.rational.test.ft.object.interfaces.GuiTestObject
          extended bycom.rational.test.ft.object.interfaces.ScrollTestObject
              extended bycom.rational.test.ft.object.interfaces.TextScrollTestObject
All Implemented Interfaces:
IGraphical, IScrollable, IText

public class TextScrollTestObject
extends ScrollTestObject
implements IText

Provides methods to move horizontal and vertical scrollbars.

Since:
RFT1.0

Constructor Summary
TextScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
TextScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
TextScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
TextScrollTestObject(TestObject obj)
          Constructs one TextScrollTestObject from another TestObject.
TextScrollTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 java.lang.String getText()
          Allows direct access to the text property on the control.
 void setText(java.lang.String text)
          Directly modifies the text on the control.
 
Methods inherited from class com.rational.test.ft.object.interfaces.ScrollTestObject
hScrollTo, scrollLineDown, scrollLineLeft, scrollLineRight, scrollLineUp, scrollPageDown, scrollPageLeft, scrollPageRight, scrollPageUp, vScrollTo
 
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject
click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, hasFocus, hover, hover, hover, hover, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
 
Methods inherited from class com.rational.test.ft.object.interfaces.TestObject
equals, exists, find, find, find, findAndInvoke, findAndInvoke, findAndInvokeProxy, getChildren, getDescribedObject, getDescribedObjects, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getProperty, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTestDataTypes, getTopMappableParent, getTopParent, invoke, invoke, invokeProxy, invokeProxy, isMappedObject, isSameObject, setIndexer, setIndexer, setProperty, toString, unregister, updateTestData, waitForExistence, waitForExistence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextScrollTestObject

public TextScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use.

Since:
RFT1.0

TextScrollTestObject

public TextScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
                            TestObject anchor)
For internal use.

Since:
RFT1.0

TextScrollTestObject

public TextScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
                            TestObject anchor,
                            long scriptCommandFlags)
For internal use.

Since:
RFT1.0

TextScrollTestObject

public TextScrollTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use.

Since:
RFT1.0

TextScrollTestObject

public TextScrollTestObject(TestObject obj)
Constructs one TextScrollTestObject from another TestObject. Both are references to the same object.

Since:
RFT1.0
Method Detail

getText

public java.lang.String getText()
Allows direct access to the text property on the control.

Specified by:
getText in interface IText
Returns:
The active text in the control.
Since:
RFT2.0

setText

public void setText(java.lang.String text)
Directly modifies the text on the control. Any existing text in the control is replaced with the specified text value. This command will attempt to playback this action from the glass when possible.

Specified by:
setText in interface IText
Parameters:
text - The text to update the control with.
Since:
RFT2.0