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 classThis class can be used to construct an instance of the SliderDescription class using the builder pattern.protected static classSliderDescription.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.protectedSliderDescription(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.voidsetContainerAttachedText(StringProperty containerAttachedText) Sets the slider container's attached text.voidsetContainerAttachedText(String containerAttachedText) Sets the slider container's attached text.voidsetMaxPosition(Integer maxPosition) Sets the maximum position of the slider.voidsetMinPosition(Integer minPosition) Sets the minimum position of the slider.voidsetOrientation(SliderOrientation orientation) Sets the orientation of the slider.voidsetPosition(Integer position) Sets the position of the slider.voidsetScrollBar(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, setWrappedMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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- aStringPropertyorRegExpProperty.
-
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.
-