Interface HorizontalScrollbar

    • Method Detail

      • getScrollWidth

        int getScrollWidth()
        Get the width in pixels of the scrollable content that the scrollbar controls.

        This is not the same as the maximum scroll left position. The maximum scroll position equals the scrollWidth - offsetWidth.

        Returns:
        the scroll width
        See Also:
        setScrollWidth(int)
      • setScrollWidth

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

        This is not the same as the maximum scroll left position. The maximum scroll position equals the scrollWidth - offsetWidth.

        Parameters:
        width - the size width pixels