com.appperfect.devcommon.script.windowelement
Interface WinScrollbar

All Superinterfaces:
IScript, WinObject

public interface WinScrollbar
extends WinObject

WinScrollbar element can be created using createWinScrollbar API of IScriptEngine interface. The return value is an instance of WinScrollbar interface. Once WinScrollbar is created, you can play events on it. Apart from events supported on WinObject, WinScrollbar also supports events mentioned below.

See Also:
WinObject

Field Summary
 
Fields inherited from interface com.appperfect.devcommon.script.windowelement.WinObject
micLineNext, micLinePrev, micPageNext, micPagePrev, micScrollEnd, micScrollStart, micSetPos
 
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 set(int position)
 Sets the scroll bar position
 
Methods inherited from interface com.appperfect.devcommon.script.windowelement.WinObject
accDoDefaultAction, activate, addAttribute, captureImage, click, close, dblClick, deSelect, deSelectItem, drag, drop, extendSelect, extendSelectItem, get_accChildCount, get_accDescription, get_accHeight, get_accHelp, get_accKeyboardShortcut, get_accLocationLeft, get_accLocationTop, get_accName, get_accRole, get_accState, get_accValue, get_accWidth, getItem, getItems, getItemsCount, getSelectedItem, getSelectedItems, getText, hScroll, maximize, minimize, mouseMove, restore, rightClick, select, selectItem, selectRange, selectRangeItem, setBreakPoint, setIgnored, setImagePath, setRecordedWhileShowingSSLCertificate, setThinkTime, setTitle, type, vScroll, wait
 
Methods inherited from interface com.appperfect.devcommon.script.IScript
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout
 

Method Detail

nextLine

boolean nextLine(int count)
Moves the scroll bar downward, or to the right by the specified number of lines

Parameters:
count - is number of lines to move
Returns:
true if event was executed successfully, returns false if there is any failure during execution

nextPage

boolean nextPage(int count)
Moves the scroll bar downward, or to the right by the specified number of pages

Parameters:
count - is number of Pages to move
Returns:
true if event was executed successfully, returns false if there is any failure during execution

prevLine

boolean prevLine(int count)
Moves the scroll bar upward, or to the left, by the specified number of lines,

Parameters:
count - is number of lines to move
Returns:
true if event was executed successfully, returns false if there is any failure during execution

prevPage

boolean prevPage(int count)
Moves the scroll bar upward, or to the left, by the specified number of Pages

Parameters:
count - is number of Pages to move
Returns:
true if event was executed successfully, returns false if there is any failure during execution

set

boolean set(int position)
Sets the scroll bar position

Parameters:
position - is scroll bar position to set
Returns:
true if event was executed successfully, returns false if there is any failure during execution


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.