com.google.gwt.widgetideas.table.client
Class RowPagingListenerCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<RowPagingListener>
              extended by com.google.gwt.widgetideas.table.client.RowPagingListenerCollection
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<RowPagingListener>, java.util.Collection<RowPagingListener>, java.util.List<RowPagingListener>, java.util.RandomAccess

public class RowPagingListenerCollection
extends java.util.ArrayList<RowPagingListener>

A helper class for implementers of the SourceRowPagingEvents interface. This subclass of ArrayList assumes that all objects added to it will be of type RowPagingListener.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
RowPagingListenerCollection()
           
 
Method Summary
 void fireNumPagesChanged(int numPages)
          Fired when the number of pages changes.
 void firePageChanged(int page)
          Fired when the current page changes, but before it is loaded.
 void firePageLoaded(int page)
          Fired when the current page has completely finished loading.
 void firePagingFailuire(java.lang.Throwable caught)
          Fired when the current page has completely finished loading.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

RowPagingListenerCollection

public RowPagingListenerCollection()
Method Detail

fireNumPagesChanged

public void fireNumPagesChanged(int numPages)
Fired when the number of pages changes.

Parameters:
numPages - the new number of pages

firePageChanged

public void firePageChanged(int page)
Fired when the current page changes, but before it is loaded.

Parameters:
page - the new page

firePageLoaded

public void firePageLoaded(int page)
Fired when the current page has completely finished loading.

Parameters:
page - the new page

firePagingFailuire

public void firePagingFailuire(java.lang.Throwable caught)
Fired when the current page has completely finished loading.

Parameters:
caught - the exception that caused the failure