Class ScrollInfo

java.lang.Object
com.hp.lft.sdk.ScrollInfo

public class ScrollInfo extends Object
Class representing the properties of a scroll bar.
  • Constructor Details

    • ScrollInfo

      public ScrollInfo(boolean exists, int maximum, int minimum, int pageSize, int position)
      Initializes a new instance of the ScrollInfo class with the specified properties.
      Parameters:
      exists - indicates whether the scroll bar exists.
      maximum - the maximum position (in lines) of the scroll bar.
      minimum - the minimum position (in lines) of the scroll bar.
      pageSize - the size (in lines) of a single page of the scroll bar.
      position - the current position (in lines) of the scroll bar.
    • ScrollInfo

      public ScrollInfo()
      Initializes a new instance of the ScrollInfo class.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isExists

      public Boolean isExists()
      Indicates whether the scroll bar exists.
      Returns:
      true, if the scroll bar exists.
    • setExists

      public void setExists(Boolean exists)
      Sets whether the scroll bar exists.
      Parameters:
      exists - indicates whether the scroll bar exists.
    • getPageSize

      public Integer getPageSize()
      Returns the size (in lines) of a single page of the scroll bar.
      Returns:
      the pageSize
    • setPageSize

      public void setPageSize(Integer pageSize)
      Sets the size (in lines) of a single page of the scroll bar.
      Parameters:
      pageSize - the size (in lines) of a single page of the scroll bar.
    • getPosition

      public Integer getPosition()
      Returns the current position (in lines) of the scroll bar.
      Returns:
      position the current position (in lines) of the scroll bar.
    • setPosition

      public void setPosition(Integer position)
      Sets the current position (in lines) of the scroll bar.
      Parameters:
      position - the line position to set
    • getMaximum

      public Integer getMaximum()
      Returns the maximum position (in lines) of the scroll bar.
      Returns:
      the maximum position (in lines) of the scroll bar.
    • setMaximum

      public void setMaximum(Integer maximum)
      Sets the maximum position (in lines) of the scroll bar.
      Parameters:
      maximum - position (in lines) of the scroll bar.
    • getMinimum

      public Integer getMinimum()
      Returns the minimum position (in lines) of the scroll bar.
      Returns:
      minimum position (in lines) of the scroll bar.
    • setMinimum

      public void setMinimum(Integer minimum)
      Sets the minimum position (in lines) of the scroll bar.
      Parameters:
      minimum - the minimum position (in lines) of the scroll bar.