Interface VerticalScrollbar

All Superinterfaces:
HasHandlers, HasScrollHandlers, HasVerticalScrolling, IsWidget
All Known Implementing Classes:
NativeVerticalScrollbar

public interface VerticalScrollbar extends HasVerticalScrolling, HasScrollHandlers, IsWidget
Describes a vertical scrollbar.
  • Method Details

    • 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

      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