com.hp.lft.sdk.stdwin

Class 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.
    • 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.