Interface HasHorizontalScrolling

All Known Subinterfaces:
HasScrolling, HorizontalScrollbar
All Known Implementing Classes:
CustomScrollPanel, NativeHorizontalScrollbar, ScrollPanel

public interface HasHorizontalScrolling
Implemented by widgets that support horizontal scrolling.
  • Method Details

    • getHorizontalScrollPosition

      int getHorizontalScrollPosition()
      Gets the horizontal scroll position.
      Returns:
      the horizontal scroll position, in pixels
    • getMaximumHorizontalScrollPosition

      int getMaximumHorizontalScrollPosition()
      Get the maximum position of horizontal scrolling. This is usually the scrollWidth - clientWidth.
      Returns:
      the maximum horizontal scroll position
    • getMinimumHorizontalScrollPosition

      int getMinimumHorizontalScrollPosition()
      Get the minimum position of horizontal scrolling.
      Returns:
      the minimum horizontal scroll position
    • setHorizontalScrollPosition

      void setHorizontalScrollPosition(int position)
      Sets the horizontal scroll position.
      Parameters:
      position - the new horizontal scroll position, in pixels