Interface HorizontalScrollbar

All Superinterfaces:
HasHandlers, HasHorizontalScrolling, HasScrollHandlers, IsWidget
All Known Implementing Classes:
NativeHorizontalScrollbar

public interface HorizontalScrollbar extends HasHorizontalScrolling, HasScrollHandlers, IsWidget
Describes a horizontal scrollbar.
  • Method Details

    • 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

      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