Share this page

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, java.lang.Cloneable

      public class SliderDescription
      extends UiObjectDescriptionBase

  The description of a WPF Slider test object.

- - ### Nested Class Summary

    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SliderDescription.Builder` 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>>`

  - ### Field Summary

    - ### Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `properties`

  - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `` | `SliderDescription()` Initializes a new instance of the SliderDescription class.
    `protected` | `SliderDescription(SliderDescription.Init<?> init)`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `StringProperty` | `getName()` Returns the name of this object.
    `java.lang.Double` | `getPosition()` Returns the current position of the range element.
    `void` | `setName(java.lang.String name)` Sets the name of the object.
    `void` | `setName(StringProperty name)` Sets the name of the object.
    `void` | `setPosition(java.lang.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, getObjectProperties, 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, setObjectProperties, setSize, setSize, setSize, setText, setText, setVisible, setWindowTitleRegExp, setWindowTitleRegExp`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase

      `cloneTo, getIndex, getIndexType, getVRI, setIndex, setIndexType, 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 Detail

    - #### SliderDescription

          public SliderDescription()

      Initializes a new instance of the SliderDescription class.

    - #### SliderDescription

          protected SliderDescription(SliderDescription.Init<?> init)

  - ### Method Detail

    - #### setName

          public void setName(java.lang.String name)

      Sets the name of the object.
      Parameters:
        `name` - the name of this object

    - #### setName

          public void setName(StringProperty name)

      Sets the name of the object.
      Parameters:
        `name` - a StringProperty(or RegExpProperty) representing the text associated with the name of the object.

    - #### getName

          public StringProperty getName()

      Returns the name of this object.
      Returns:
        name the name of the object.

    - #### setPosition

          public void setPosition(java.lang.Double position)

      Sets the current position of the range element.
      Parameters:
        `position` - the current position of the range element.

    - #### getPosition

          public java.lang.Double getPosition()

      Returns the current position of the range element.
      Returns:
        the current position of the range element.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: