Package com.google.gwt.user.client.ui

## Interface ScrollListener

- All Superinterfaces:
    `java.util.EventListener`

      @Deprecated
      public interface ScrollListener
      extends java.util.EventListener

  Deprecated.
  use `ScrollHandler` instead
  Event listener interface for scroll events.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onScroll​(Widget widget, int scrollLeft, int scrollTop)` | Deprecated. Fired when the sender is scrolled.

- - ### Method Detail

    - #### onScroll

          void onScroll​(Widget widget,
                        int scrollLeft,
                        int scrollTop)

      Deprecated.
      Fired when the sender is scrolled.
      Parameters:
        `widget` - the widget being scrolled.
        `scrollLeft` - the left scroll position.
        `scrollTop` - the top scroll position.