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

Project Version 2.3

com.rational.test.ft.object.interfaces
Interface IScrollable

All Known Implementing Classes:
ScrollGuiSubitemTestObject, ScrollTestObject, SelectScrollGuiSubitemTestObject, TextScrollTestObject

public interface IScrollable

Defines the methods necessary for supporting scrolling, relative to a particular component. The most obvious implementation of this interface is a scrollbar control TestObject/proxy implementation. However, any control with scrollbars can implement this interface directly, rather than expose the scrollbars as child objects. Recognition properties for nested scrollbars are typically poor. Therefore, hiding nesting scrollbars is strongly suggested.

A sample implementation is the proxy for the java.awt.List component. In this example, the nested scrollbars are not visible as independent controls. They are hidden beneath the peer support for the List control. This leaves no scrollbar objects to expose. The only way to properly perform scroll actions is by having the List proxy directly implement this interface and perform the actions itself.

Since:
RFT 6.1.1.1

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.
 

Method Detail

hScrollTo

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

Parameters:
position - the position of the horizontal scrollbar after this action is completed
Detail description:
This will move the horizontal scrollbar of the component to a specified position
Example:
tree.hScrollTo(10);
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test.
Since:
RFT 6.1.1.1
See Also:
vScrollTo(int)

vScrollTo

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

Parameters:
position - the position of the vertical scrollbar after this action is completed
Detail description:
This will move the vertical scrollbar of the component to a specified position
Example:
tree.vScrollTo(10);
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test
Since:
RFT 6.1.1.1
See Also:
hScrollTo(int)

scrollPageUp

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

Detail description:
This will move the vertical scrollbar of the component up by one page
Example:
tree.scrollPageUp();
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test, This is an example
Since:
RFT 6.1.1.1

scrollPageDown

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

Detail description:
This will move the vertical scrollbar of the component down by one page
Example:
tree.scrollPageDown();
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test, This is an example
Since:
RFT 6.1.1.1

scrollPageLeft

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

Detail description:
This will move the horizontal scrollbar of the component to left by one page
Example:
tree.scrollPageLeft();
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test., This is an example
Since:
RFT 6.1.1.1

scrollPageRight

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

Detail description:
This will move the horizontal scrollbar of the component to right by one page
Example:
tree.scrollPageRight();
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test., This is an example
Since:
RFT 6.1.1.1

scrollLineUp

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

Detail description:
This will move the vertical scrollbar of the component to up by one line
Example:
tree.scrollLineUp();
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test., This is an example
Since:
RFT 6.1.1.1

scrollLineDown

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

Detail description:
This will move the vertical scrollbar of the component down up by one line
Example:
tree.scrollLineDown();
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test., This is an example
Since:
RFT 6.1.1.1

scrollLineLeft

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

Detail description:
This will move the horizontal scrollbar of the component left by one line
Example:
tree.scrollLineLeft();
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test., This is an example
Since:
RFT 6.1.1.1

scrollLineRight

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

Detail description:
This will move the horizontal scrollbar of the component right by one line
Example:
tree.scrollLineRight();
here tree is of type ScrollGuiSubitemTestObject and I have used Eclipse shell as an Application under Test., This is an example
Since:
RFT 6.1.1.1