com.hp.lft.sdk

Class ScrollInfo



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

      Constructor and Description
      ScrollInfo()
      Initializes a new instance of the ScrollInfo class.
      ScrollInfo(boolean exists, int maximum, int minimum, int pageSize, int position)
      Initializes a new instance of the ScrollInfo class with the specified properties.
    • Method Summary

      Modifier and Type Method and Description
      java.lang.Integer getMaximum()
      Returns the maximum position (in lines) of the scroll bar.
      java.lang.Integer getMinimum()
      Returns the minimum position (in lines) of the scroll bar.
      java.lang.Integer getPageSize()
      Returns the size (in lines) of a single page of the scroll bar.
      java.lang.Integer getPosition()
      Returns the current position (in lines) of the scroll bar.
      java.lang.Boolean isExists()
      Indicates whether the scroll bar exists.
      void setExists(java.lang.Boolean exists)
      Sets whether the scroll bar exists.
      void setMaximum(java.lang.Integer maximum)
      Sets the maximum position (in lines) of the scroll bar.
      void setMinimum(java.lang.Integer minimum)
      Sets the minimum position (in lines) of the scroll bar.
      void setPageSize(java.lang.Integer pageSize)
      Sets the size (in lines) of a single page of the scroll bar.
      void setPosition(java.lang.Integer position)
      Sets the current position (in lines) of the scroll bar.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

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

      • toString

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

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

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

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

        public void setPageSize(java.lang.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 java.lang.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(java.lang.Integer position)
        Sets the current position (in lines) of the scroll bar.
        Parameters:
        position - the line position to set
      • getMaximum

        public java.lang.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(java.lang.Integer maximum)
        Sets the maximum position (in lines) of the scroll bar.
        Parameters:
        maximum - position (in lines) of the scroll bar.
      • getMinimum

        public java.lang.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(java.lang.Integer minimum)
        Sets the minimum position (in lines) of the scroll bar.
        Parameters:
        minimum - the minimum position (in lines) of the scroll bar.