Class ScrollBarDescription

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

public class ScrollBarDescription extends UiObjectBaseDescription
The description of a standard Windows ScrollBar test object.
  • Constructor Details

    • 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 Details

    • setMaxPosition

      public void setMaxPosition(Integer maxPosition)
      Sets the maximum scrolling position.
      Parameters:
      maxPosition - the maximum scrolling position.
    • getMaxPosition

      public Integer getMaxPosition()
      Returns the maximum scrolling position.
      Returns:
      the maximum scrolling position.
    • setMinPosition

      public void setMinPosition(Integer minPosition)
      Sets the minimum scrolling position.
      Parameters:
      minPosition - the minimum scrolling position.
    • getMinPosition

      public Integer getMinPosition()
      Returns the minimum scrolling position.
      Returns:
      the minimum scrolling position.
    • setPosition

      public void setPosition(Integer position)
      Sets the current scroll bar position.
      Parameters:
      position - the current scroll bar position.
    • getPosition

      public Integer getPosition()
      Returns the current scroll bar position.
      Returns:
      the current scroll bar position.