Package com.hp.lft.sdk.java
Interface SpinBox
- All Superinterfaces:
Clickable,DoubleClickable,EnabledProvider,LocationInfoProvider,SupportsNativeObject,TestObject,TestObjectDescriber,UiObjectBase,VisibleProvider,WaitUntilEnabledProvider,WaitUntilVisibleProvider
A Java spin box object.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddown()Sets this spin box to the next lower value.Returns the maximum value of the spin box.Returns the minimum value of the spin box.getValue()Returns the spin box value.voidSets the spin box value.voidup()Sets this spin box to the next higher value.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, 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.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.java.UiObjectBase
createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
up
Sets this spin box to the next higher value.- Throws:
GeneralLeanFtException- if error occurs during execution
-
down
Sets this spin box to the next lower value.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getValue
Returns the spin box value.- Returns:
- the spin box value.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
setValue
Sets the spin box value.- Parameters:
value- the value of the spin box. Note: For SWT spinner objects, the parameter value must be an Integer (provided in String format, such as: "6", "7000", "34").- Throws:
GeneralLeanFtException- if error occurs during execution
-
getMaximum
Returns the maximum value of the spin box.- Returns:
- the maximum value of the spin box.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getMinimum
Returns the minimum value of the spin box.- Returns:
- the minimum value of the spin box.
- Throws:
GeneralLeanFtException- if error occurs during execution
-