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 TypeMethodDescriptionvoid
down()
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.void
Sets the spin box value.void
up()
Sets this spin box to the next higher value.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.java.UiObjectBase
createObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeys
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods 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
-