Package com.hp.lft.sdk.wpf
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.wpf.UiObjectDescriptionBase
com.hp.lft.sdk.wpf.SliderDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
The description of a WPF 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>> -
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) -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of this object.Returns the current position of the range element.voidsetName(StringProperty name) Sets the name of the object.voidSets the name of the object.voidsetPosition(Double position) Sets the current position of the range element.Methods inherited from class com.hp.lft.sdk.wpf.UiObjectDescriptionBase
canFocus, getAbsoluteLocation, getAttachedText, getFullNamePath, getFullType, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setCanFocus, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setSize, setSize, setSize, setText, setText, setVisible, setWindowTitleRegExp, setWindowTitleRegExpMethods 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
-
-
Method Details
-
setName
Sets the name of the object.- Parameters:
name- the name of this object
-
setName
Sets the name of the object.- Parameters:
name- a StringProperty(or RegExpProperty) representing the text associated with the name of the object.
-
getName
Returns the name of this object.- Returns:
- name the name of the object.
-
setPosition
Sets the current position of the range element.- Parameters:
position- the current position of the range element.
-
getPosition
Returns the current position of the range element.- Returns:
- the current position of the range element.
-