Open topic with navigation

com.hp.lft.sdk.stdwin

## Class ScrollBarDescription

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.DescriptionBase
      - - com.hp.lft.sdk.stdwin.UiObjectBaseDescription
        - - com.hp.lft.sdk.stdwin.ScrollBarDescription

- All Implemented Interfaces:
    CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, java.lang.Cloneable

      public class ScrollBarDescription
      extends UiObjectBaseDescription

  The description of a standard Windows ScrollBar test object.

- - ### Nested Class Summary

    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ScrollBarDescription.Builder` This class can be used to construct an instance of the ScrollBarDescription class using the builder pattern.
    `protected static class` | `ScrollBarDescription.Init<T extends ScrollBarDescription.Init<T>>` Helper class for ScrollBarDescription.Builder.

  - ### Field Summary

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

      `properties`

  - ### Constructor Summary

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

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Integer` | `getMaxPosition()` Returns the maximum scrolling position.
    `java.lang.Integer` | `getMinPosition()` Returns the minimum scrolling position.
    `java.lang.Integer` | `getPosition()` Returns the current scroll bar position.
    `void` | `setMaxPosition(java.lang.Integer maxPosition)` Sets the maximum scrolling position.
    `void` | `setMinPosition(java.lang.Integer minPosition)` Sets the minimum scrolling position.
    `void` | `setPosition(java.lang.Integer position)` Sets the current scroll bar position.

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

      `getAbsoluteLocation, getAccessibleName, getAttachedText, getLocation, getNativeClass, getSize, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowExtendedStyleAsLong, getWindowId, getWindowStyle, getWindowStyleAsLong, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAccessibleName, setAccessibleName, setAttachedText, setAttachedText, setEnabled, setFocused, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setSize, setSize, setSize, setText, setText, setVisible, setWindowClassRegExp, setWindowClassRegExp, setWindowExtendedStyle, setWindowExtendedStyle, setWindowId, setWindowStyle, setWindowStyle, 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

    - #### ScrollBarDescription

          public ScrollBarDescription()

      Initializes a new instance of the ScrollBarDescription class.

    - #### ScrollBarDescription

          protected ScrollBarDescription(ScrollBarDescription.Init<?> init)

      Initializes a new instance of the ScrollBarDescription class using the Builder pattern.
      Parameters:
        `init` - the Builder pattern.

  - ### Method Detail

    - #### setMaxPosition

          public void setMaxPosition(java.lang.Integer maxPosition)

      Sets the maximum scrolling position.
      Parameters:
        `maxPosition` - the maximum scrolling position.

    - #### getMaxPosition

          public java.lang.Integer getMaxPosition()

      Returns the maximum scrolling position.
      Returns:
        the maximum scrolling position.

    - #### setMinPosition

          public void setMinPosition(java.lang.Integer minPosition)

      Sets the minimum scrolling position.
      Parameters:
        `minPosition` - the minimum scrolling position.

    - #### getMinPosition

          public java.lang.Integer getMinPosition()

      Returns the minimum scrolling position.
      Returns:
        the minimum scrolling position.

    - #### setPosition

          public void setPosition(java.lang.Integer position)

      Sets the current scroll bar position.
      Parameters:
        `position` - the current scroll bar position.

    - #### getPosition

          public java.lang.Integer getPosition()

      Returns the current scroll bar position.
      Returns:
        the current scroll bar position.