|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AwtScrollbar
AwtScrollbar is created to represent java.awt.Scrollbar component
The following code fragment illustrates how to create an
AwtScrollbar
element.
var element = engine.createAwtScrollbar(1, 5);where engine is object of
IScriptEngine
Method Summary | |
---|---|
boolean |
nextLine(int count)
Moves the scroll bar downward, or to the right by the specified number of lines |
boolean |
nextPage(int count)
Moves the scroll bar downward, or to the right by the specified number of pages |
boolean |
prevLine(int count)
Moves the scroll bar upward, or to the left, by the specified number of lines, |
boolean |
prevPage(int count)
Moves the scroll bar upward, or to the left, by the specified number of Pages |
boolean |
setPosition(int position)
Sets the scroll bar position |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.JavaComponent |
---|
activate, addAttribute, captureImage, click, close, dblClick, drag, drop, getName, getText, getToolTipText, maximize, minimize, mouseMove, restore, rightClick, set, setBreakPoint, setIgnored, setImagePath, setName, setThinkTime, setTitle, type |
Methods inherited from interface com.appperfect.devcommon.script.IScript |
---|
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout |
Method Detail |
---|
boolean nextLine(int count)
count
- is number of lines to move
boolean nextPage(int count)
count
- is number of Pages to move
boolean prevLine(int count)
count
- is number of lines to move
boolean prevPage(int count)
count
- is number of Pages to move
boolean setPosition(int position)
position
- is scroll bar position to set
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |