Package com.hp.lft.sdk.java
Class SliderDescription
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.SliderDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
The description of a Java Slider test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the SliderDescription class using the builder pattern.protected static class
SliderDescription.Init<T extends SliderDescription.Init<T>>
Helper class for SliderDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the SliderDescription class.protected
SliderDescription
(SliderDescription.Init<?> init) Initializes a new instance of the SliderDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the slider container's attached text.Returns the maximum position of the slider.Returns the minimum position of the slider.Returns the orientation of the slider.Returns the position of the slider.Indicates whether slider is a scrollBar.void
setContainerAttachedText
(StringProperty containerAttachedText) Sets the slider container's attached text.void
setContainerAttachedText
(String containerAttachedText) Sets the slider container's attached text.void
setMaxPosition
(Integer maxPosition) Sets the maximum position of the slider.void
setMinPosition
(Integer minPosition) Sets the minimum position of the slider.void
setOrientation
(SliderOrientation orientation) Sets the orientation of the slider.void
setPosition
(Integer position) Sets the position of the slider.void
setScrollBar
(Boolean isScrollBar) Sets whether slider is a scrollBar.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
-
SliderDescription
public SliderDescription()Initializes a new instance of the SliderDescription class. -
SliderDescription
Initializes a new instance of the SliderDescription class using the Builder pattern.- Parameters:
init
- the Builder pattern.
-
-
Method Details
-
setContainerAttachedText
Sets the slider container's attached text.- Parameters:
containerAttachedText
- aStringProperty
orRegExpProperty
.
-
setContainerAttachedText
Sets the slider container's attached text.- Parameters:
containerAttachedText
- the text.
-
getContainerAttachedText
Returns the slider container's attached text.- Returns:
- the container's attached text.
-
getOrientation
Returns the orientation of the slider.- Returns:
- the orientation of the slider.
-
setOrientation
Sets the orientation of the slider.- Parameters:
orientation
- the orientation of the slider.
-
getPosition
Returns the position of the slider.- Returns:
- the position of the slider.
-
setPosition
Sets the position of the slider.- Parameters:
position
- the position of the slider.
-
getMaxPosition
Returns the maximum position of the slider.- Returns:
- the maximum position of the slider.
-
setMaxPosition
Sets the maximum position of the slider.- Parameters:
maxPosition
- the maximum position of the slider.
-
getMinPosition
Returns the minimum position of the slider.- Returns:
- the minimum position of the slider.
-
setMinPosition
Sets the minimum position of the slider.- Parameters:
minPosition
- the minimum position of the slider.
-
setScrollBar
Sets whether slider is a scrollBar.- Parameters:
isScrollBar
- true if slider is a scrollBar.
-
isScrollBar
Indicates whether slider is a scrollBar.- Returns:
- true if slider is a scrollBar.
-