Share this page

com.hp.lft.sdk.java

# Class SliderDescription.Init<T extends SliderDescription.Init<T>>

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.java.UiObjectBaseDescription.Init<T>
    - - com.hp.lft.sdk.java.SliderDescription.Init<T>

- Direct Known Subclasses:
    SliderDescription.Builder
  Enclosing class:
    SliderDescription

      protected abstract static class SliderDescription.Init<T extends SliderDescription.Init<T>>
      extends UiObjectBaseDescription.Init<T>

  Helper class for SliderDescription.Builder.

- - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `protected` | `Init()`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `SliderDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `containerAttachedText(java.lang.String containerAttachedText)` Initializes the slider container's attached text .
    `T` | `containerAttachedText(StringProperty containerAttachedText)` Initializes the slider container's attached text.
    `T` | `isScrollBar(java.lang.Boolean isScrollBar)` Initializes whether slider is a scrollBar.
    `T` | `maxPosition(java.lang.Integer maxPosition)` Initializes the maximum position of the slider.
    `T` | `minPosition(java.lang.Integer minPosition)` Initializes the minimum position of the slider.
    `T` | `orientation(SliderOrientation orientation)` Initializes the orientation of the slider.
    `T` | `position(java.lang.Integer position)` Initializes the position of the slider.

    - ### Methods inherited from class com.hp.lft.sdk.java.UiObjectBaseDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, backgroundColor, backgroundColor, enabled, focused, foregroundColor, foregroundColor, label, label, location, location, location, nativeClass, nativeClass, objectName, objectName, objectProperties, path, path, size, size, size, tagName, tagName, visible, wrapped`

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

      `index, self, vri, vri`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Init

          protected Init()

  - ### Method Detail

    - #### build

          public SliderDescription build()

      Description copied from class: `DescriptionBase.Init`
      Returns the built description instance (builder pattern).
      Overrides:
        `build` in class `DescriptionBase.Init<T extends SliderDescription.Init<T>>`
      Returns:
        The built description instance (builder pattern).

    - #### containerAttachedText

          public T containerAttachedText(java.lang.String containerAttachedText)

      Initializes the slider container's attached text .
      Parameters:
        `containerAttachedText` - the container's attached text.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### containerAttachedText

          public T containerAttachedText(StringProperty containerAttachedText)

      Initializes the slider container's attached text.
      Parameters:
        `containerAttachedText` - a `StringProperty` or `RegExpProperty`.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### orientation

          public T orientation(SliderOrientation orientation)

      Initializes the orientation of the slider.
      Parameters:
        `orientation` - the orientation of the slider.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### position

          public T position(java.lang.Integer position)

      Initializes the position of the slider.
      Parameters:
        `position` - the position of the slider.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### maxPosition

          public T maxPosition(java.lang.Integer maxPosition)

      Initializes the maximum position of the slider.
      Parameters:
        `maxPosition` - the maximum position of the slider.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### minPosition

          public T minPosition(java.lang.Integer minPosition)

      Initializes the minimum position of the slider.
      Parameters:
        `minPosition` - the minimum position of the slider.
      Returns:
        the description instance with the updated state (builder pattern).

    - #### isScrollBar

          public T isScrollBar(java.lang.Boolean isScrollBar)

      Initializes whether slider is a scrollBar.
      Parameters:
        `isScrollBar` - true if slider is a scrollBar.
      Returns:
        the description instance with the updated state (builder pattern).

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: