Package com.hp.lft.sdk.java
Interface Slider
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A Java slider.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the text of the slider object's container.intReturns the maximum position of the slider.intReturns the minimum position of the slider.Returns the orientation of the slider.intReturns the position of the slider.booleanIndicates whether slider is a scrollBar.voidnextLine()Moves the slider downward, or to the right, by one line.voidnextLine(int numberOfLines) Moves the slider downward, or to the right, the specified number of lines.voidMoves the slider upward, or to the left, by one line.voidpreviousLine(int numberOfLines) Moves the slider upward, or to the left, the specified number of lines.voidsetPosition(int position) Sets the position of the slider.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.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.java.UiObjectBasecreateObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods 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- 
getContainerAttachedTextReturns the text of the slider object's container.- Returns:
- the container's text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getOrientationReturns the orientation of the slider.- Returns:
- a value of the SliderOrientationenum.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getPositionReturns the position of the slider.- Returns:
- the position of the slider.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setPositionSets the position of the slider.- Parameters:
- position- the position of the slider.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getMaxPositionReturns the maximum position of the slider.- Returns:
- the maximum position of the slider.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getMinPositionReturns the minimum position of the slider.- Returns:
- the minimum position of the slider.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
nextLineMoves the slider downward, or to the right, the specified number of lines.- Parameters:
- numberOfLines- the number of lines to move the slider.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
nextLineMoves the slider downward, or to the right, by one line.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
previousLineMoves the slider upward, or to the left, the specified number of lines.- Parameters:
- numberOfLines- the number of lines to move the slider.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
previousLineMoves the slider upward, or to the left, by one line.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isScrollBarIndicates whether slider is a scrollBar.- Returns:
- true if slider is a scrollBar.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-