Package com.hp.lft.sdk.java
Class SpinBoxDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.java.UiObjectBaseDescription
com.hp.lft.sdk.java.SpinBoxDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
The description of a Java SpinBox test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the SpinBoxDescription class using the builder pattern.protected static class
SpinBoxDescription.Init<T extends SpinBoxDescription.Init<T>>
Helper class for SpinBoxDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the SpinBoxDescription class.protected
Initializes a new instance of the SpinBoxDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the maximum value of the spin box.Returns the minimum value of the spin box.getValue()
Returns the spin box value.void
setMaximum
(StringProperty max) Sets the maximum value of the spin box.void
setMaximum
(String max) Sets the maximum value of the spin box.void
setMinimum
(StringProperty min) Sets the minimum value of the spin box.void
setMinimum
(String min) Sets the minimum value of the spin box.void
setValue
(StringProperty value) Sets the spin box value.void
Sets the spin box value.Methods inherited from class com.hp.lft.sdk.java.UiObjectBaseDescription
getAbsoluteLocation, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getLocation, getNativeClass, getObjectName, getPath, getSize, getTagName, isEnabled, isFocused, isVisible, isWrapped, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setBackgroundColor, setBackgroundColor, setEnabled, setFocused, setForegroundColor, setForegroundColor, setLabel, setLabel, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setPath, setPath, setSize, setSize, setSize, setTagName, setTagName, setVisible, setWrapped
Methods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
SpinBoxDescription
public SpinBoxDescription()Initializes a new instance of the SpinBoxDescription class. -
SpinBoxDescription
Initializes a new instance of the SpinBoxDescription class using the Builder pattern.- Parameters:
init
- Builder pattern
-
-
Method Details
-
getValue
Returns the spin box value.- Returns:
- the spin box value.
-
setValue
Sets the spin box value.- Parameters:
value
- aStringProperty
orRegExpProperty
representing the value of the spin box.
-
setValue
Sets the spin box value.- Parameters:
value
- the value of the spin box.
-
getMaximum
Returns the maximum value of the spin box.- Returns:
- the maximum value of the spin box.
-
setMaximum
Sets the maximum value of the spin box.- Parameters:
max
- aStringProperty
orRegExpProperty
representing the maximum value of the spin box.
-
setMaximum
Sets the maximum value of the spin box.- Parameters:
max
- the maximum value of the spin box.
-
getMinimum
Returns the minimum value of the spin box.- Returns:
- the minimum value of the spin box.
-
setMinimum
Sets the minimum value of the spin box.- Parameters:
min
- aStringProperty
orRegExpProperty
representing the minimum value of the spin box.
-
setMinimum
Sets the minimum value of the spin box.- Parameters:
min
- the minimum value of the spin box.
-