|
IBM Rational Functional Tester Version 8.2.1 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 |
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.
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 |
---|
void hScrollTo(int position)
position
- the position of the horizontal scrollbar after
this action is completedtree.hScrollTo(10);
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test.
vScrollTo(int)
void vScrollTo(int position)
position
- the position of the vertical scrollbar after
this action is completedtree.vScrollTo(10);
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test
hScrollTo(int)
void scrollPageUp()
tree.scrollPageUp();
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test, This is an example
void scrollPageDown()
tree.scrollPageDown();
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test, This is an example
void scrollPageLeft()
tree.scrollPageLeft();
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test., This is an example
void scrollPageRight()
tree.scrollPageRight();
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test., This is an example
void scrollLineUp()
tree.scrollLineUp();
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test., This is an example
void scrollLineDown()
tree.scrollLineDown();
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test., This is an example
void scrollLineLeft()
tree.scrollLineLeft();
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test., This is an example
void scrollLineRight()
tree.scrollLineRight();
here tree is of type ScrollGuiSubitemTestObject and
I have used Eclipse shell as an Application under Test., This is an example
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |