public class

ScrollListenerCollection

extends ArrayList<E>
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.ArrayList<E>
         ↳ com.google.gwt.user.client.ui.ScrollListenerCollection

This class is deprecated.
Widgets should now manage their own handlers via addDomHandler(H, DomEvent.Type)

Class Overview

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.

Summary

[Expand]
Inherited Fields
From class java.util.AbstractList
Public Constructors
ScrollListenerCollection()
Public Methods
void fireScroll(Widget sender, int scrollLeft, int scrollTop)
Fires a scroll event to all listeners.
[Expand]
Inherited Methods
From class java.util.ArrayList
From class java.util.AbstractList
From class java.util.AbstractCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.List

Public Constructors

public ScrollListenerCollection ()

Public Methods

public void fireScroll (Widget sender, int scrollLeft, int scrollTop)

Fires a scroll event to all listeners.

Parameters
sender the widget sending the event
scrollLeft the horizontal scroll offset
scrollTop the vertical scroll offset