Package com.hp.lft.sdk.winforms
Interface ScrollBar
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A .NET Windows Forms scroll bar.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the tooltip text of the error icon associated with this object.intReturns the scroll bar position.voidnextLine()Moves the scroll bar downward a single lineor emulates pressing the right arrow key once.voidnextLine(int numberOfLines) Moves this scroll bar down the specified number of lines or emulates pressing the right arrow key the specified number of times.voidnextPage()Moves the scroll bar down or to the right a single page.voidnextPage(int numberOfPages) Moves this scroll bar down or to the right the specified number of pages.voidMoves the scroll bar up or to the left a single line.voidpreviousLine(int numberOfLines) Moves this scroll bar up the specified number of lines or emulates pressing the left arrow key the specified number of times.voidMoves the scroll bar up or to the left a single page.voidpreviousPage(int numberOfPages) Moves the scroll bar up or to the left the specified number of pages.voidsetPosition(int position) Sets the scroll bar position.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeyssendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.winforms.UiObjectBasefireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindowMethods inherited from interface com.hp.lft.sdk.VisibleProviderisVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisible
- 
Method Details- 
getPositionReturns the scroll bar position.- Returns:
- the scroll bar position
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setPositionSets the scroll bar position.- Parameters:
- position- the position
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
nextLineMoves this scroll bar down the specified number of lines or emulates pressing the right arrow key the specified number of times.- Parameters:
- numberOfLines- the number of lines to move the scroll bar.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
nextLineMoves the scroll bar downward a single lineor emulates pressing the right arrow key once.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
nextPageMoves this scroll bar down or to the right the specified number of pages.- Parameters:
- numberOfPages- the number of pages
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
nextPageMoves the scroll bar down or to the right a single page.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
previousLineMoves this scroll bar up the specified number of lines or emulates pressing the left arrow key the specified number of times.- Parameters:
- numberOfLines- the number of lines
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
previousLineMoves the scroll bar up or to the left a single line.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
previousPageMoves the scroll bar up or to the left the specified number of pages.- Parameters:
- numberOfPages- the number of pages to move the scroll bar
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
previousPageMoves the scroll bar up or to the left a single page.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getErrorTextReturns the tooltip text of the error icon associated with this object.- Returns:
- the tooltip text of the error icon associated with this object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-