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

Project Version 2.3

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

java.lang.Object   extended by com.rational.test.ft.object.interfaces.TestObject
      extended by com.rational.test.ft.object.interfaces.ClientTestObject
          extended by com.rational.test.ft.object.interfaces.GuiTestObject
              extended by com.rational.test.ft.object.interfaces.ScrollTestObject
All Implemented Interfaces:
IGraphical, IScrollable
Direct Known Subclasses:
TextScrollTestObject

public class ScrollTestObject
extends GuiTestObject
implements IScrollable

Provides methods to move horizontal and vertical scrollbars.

Since:
RFT1.0

Field Summary
 
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject
ref
 
Constructor Summary
ScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
ScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
ScrollTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
ScrollTestObject(TestObject obj)
          Constructs one ScrollTestObject from another TestObject.
ScrollTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 void hScrollTo(int position)
          Moves a horizontal scrollbar to a specified position.
 void scrollLineDown()
          Moves a vertical scrollbar one line (also called a unit) down in position.
 void scrollLineLeft()
          Moves a horizontal scrollbar one line (also called a unit) left in position.
 void scrollLineRight()
          Moves a horizontal scrollbar one line (also called a unit) right in position.
 void scrollLineUp()
          Moves a vertical scrollbar one line (also called a unit) up in position.
 void scrollPageDown()
          Moves a vertical scrollbar one page (also called a block) down in position.
 void scrollPageLeft()
          Moves a horizontal scrollbar one page (also called a block) left in position.
 void scrollPageRight()
          Moves a horizontal scrollbar one page (also called a block) right in position.
 void scrollPageUp()
          Moves a vertical scrollbar one page (also called a block) up in position.
 void vScrollTo(int position)
          Moves a vertical scrollbar to a specified position.
 
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject
canTakeVP, click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, 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.ClientTestObject
exists, find, find, findAndInvoke, findAndInvokeProxy, invoke, invokeProxy, unregister, waitForExistence
 
Methods inherited from class com.rational.test.ft.object.interfaces.TestObject
compare, compare, compareAndLog, compareAndLog, equals, find, findAndInvoke, getActualData, getChildren, getDescribedObject, getDescribedObjects, getDescriptiveName, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMapProperties, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectCustomClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getProperty, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTestDataTypes, getTopMappableParent, getTopParent, hashCode, invoke, invokeProxy, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setMapProperties, setProperty, toString, updateTestData, waitForExistence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScrollTestObject

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

Since:
RFT1.0

ScrollTestObject

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

Since:
RFT1.0

ScrollTestObject

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

Since:
RFT1.0

ScrollTestObject

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

Since:
RFT1.0

ScrollTestObject

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

Since:
RFT1.0
Method Detail

hScrollTo

public void hScrollTo(int position)
Moves a horizontal scrollbar to a specified position.

Specified by:
hScrollTo in interface IScrollable
Parameters:
position - the position of the horizontal scrollbar after this action is completed
Since:
RFT1.0
See Also:
vScrollTo(int)

vScrollTo

public void vScrollTo(int position)
Moves a vertical scrollbar to a specified position.

Specified by:
vScrollTo in interface IScrollable
Parameters:
position - the position of the vertical scrollbar after this action is completed
Since:
RFT1.0
See Also:
hScrollTo(int)

scrollPageUp

public void scrollPageUp()
Moves a vertical scrollbar one page (also called a block) up in position.

Specified by:
scrollPageUp in interface IScrollable
Since:
RFT1.0

scrollPageDown

public void scrollPageDown()
Moves a vertical scrollbar one page (also called a block) down in position.

Specified by:
scrollPageDown in interface IScrollable
Since:
RFT1.0

scrollPageLeft

public void scrollPageLeft()
Moves a horizontal scrollbar one page (also called a block) left in position.

Specified by:
scrollPageLeft in interface IScrollable
Since:
RFT1.0

scrollPageRight

public void scrollPageRight()
Moves a horizontal scrollbar one page (also called a block) right in position.

Specified by:
scrollPageRight in interface IScrollable
Since:
RFT1.0

scrollLineUp

public void scrollLineUp()
Moves a vertical scrollbar one line (also called a unit) up in position.

Specified by:
scrollLineUp in interface IScrollable
Since:
RFT1.0

scrollLineDown

public void scrollLineDown()
Moves a vertical scrollbar one line (also called a unit) down in position.

Specified by:
scrollLineDown in interface IScrollable
Since:
RFT1.0

scrollLineLeft

public void scrollLineLeft()
Moves a horizontal scrollbar one line (also called a unit) left in position.

Specified by:
scrollLineLeft in interface IScrollable
Since:
RFT1.0

scrollLineRight

public void scrollLineRight()
Moves a horizontal scrollbar one line (also called a unit) right in position.

Specified by:
scrollLineRight in interface IScrollable
Since:
RFT1.0