Class ListenerWrapper.WrappedScrollListener

All Implemented Interfaces:
ScrollHandler, EventHandler
Enclosing class:
ListenerWrapper<T>

public static class ListenerWrapper.WrappedScrollListener extends ListenerWrapper<ScrollListener> implements ScrollHandler
Wrapper for a ScrollListener.
  • Method Details

    • add

      Deprecated.
      will be removed in GWT 2.0 along with the listener classes
      Adds the wrapped listener.
      Parameters:
      source - the event source
      listener - the listener
      Returns:
      the wrapped listener
    • remove

      @Deprecated public static void remove(Widget eventSource, ScrollListener listener)
      Deprecated.
      will be removed in GWT 2.0 along with the listener classes
      Removes the wrapped listener.
      Parameters:
      eventSource - the event source from which to remove the wrapped listener
      listener - the listener to remove
    • onScroll

      public void onScroll(ScrollEvent event)
      Description copied from interface: ScrollHandler
      Called when ScrollEvent is fired.
      Specified by:
      onScroll in interface ScrollHandler
      Parameters:
      event - the ScrollEvent that was fired