Interface VerticalScrollbar

    • Method Detail

      • getScrollHeight

        int getScrollHeight()
        Get the height in pixels of the scrollable content that the scrollbar controls.

        This is not the same as the maximum scroll top position. The maximum scroll position equals the scrollHeight- offsetHeight;

        Returns:
        the scroll height
        See Also:
        setScrollHeight(int)
      • setScrollHeight

        void setScrollHeight​(int height)
        Set the height in pixels of the scrollable content that the scrollbar controls.

        This is not the same as the maximum scroll top position. The maximum scroll position equals the scrollHeight- offsetHeight;

        Parameters:
        height - the size height pixels