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

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

public class TableDataRequestListenerCollection
extends java.util.ArrayList<TableDataRequestListener>

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

See Also:
Serialized Form

Constructor Summary
TableDataRequestListenerCollection()
           
 
Method Summary
 void fireRequestData(int firstRow, int rowCount, TableModel.ColumnSortList sortList)
          Fired when the source requests data.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, 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
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

TableDataRequestListenerCollection

public TableDataRequestListenerCollection()
Method Detail

fireRequestData

public void fireRequestData(int firstRow,
                            int rowCount,
                            TableModel.ColumnSortList sortList)
Fired when the source requests data.

Parameters:
firstRow - the start row of the request
rowCount - the number of rows of data to request
sortList - detailed information of column sorting