|
IBM Rational Functional Tester Version 6.1 IBM Rational Functional Tester API Reference Project Version 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void hScrollTo(int position)
position
- the position of the horizontal scrollbar after
this action is completedvScrollTo(int)
public void vScrollTo(int position)
position
- the position of the vertical scrollbar after
this action is completedhScrollTo(int)
public void scrollPageUp()
public void scrollPageDown()
public void scrollPageLeft()
public void scrollPageRight()
public void scrollLineUp()
public void scrollLineDown()
public void scrollLineLeft()
public void scrollLineRight()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |