Class ScrollListenerCollection

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ScrollListener>
com.google.gwt.user.client.ui.ScrollListenerCollection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<ScrollListener>, Collection<ScrollListener>, List<ScrollListener>, RandomAccess

@Deprecated public class ScrollListenerCollection extends ArrayList<ScrollListener>
Deprecated.
Widgets should now manage their own handlers via Widget.addDomHandler(H, com.google.gwt.event.dom.client.DomEvent.Type<H>)
A helper class for implementers of the SourcesScrollEvents interface. This subclass of ArrayList assumes that all objects added to it will be of type ScrollListener.
See Also:
  • Constructor Details

    • ScrollListenerCollection

      public ScrollListenerCollection()
      Deprecated.
  • Method Details

    • fireScroll

      public void fireScroll(Widget sender, int scrollLeft, int scrollTop)
      Deprecated.
      Fires a scroll event to all listeners.
      Parameters:
      sender - the widget sending the event
      scrollLeft - the horizontal scroll offset
      scrollTop - the vertical scroll offset