com.google.gwt.widgetideas.table.client
Interface TableControllerListener


public interface TableControllerListener

Event listener interface for TableController events.


Method Summary
 void onNumRowsChanged(int numRows)
          Fired when the number of rows changes.
 void onRowInserted(int beforeRow)
          Fired when a row is inserted.
 void onRowRemoved(int row)
          Fired when a row is removed.
 void onSetData(int row, int column, java.lang.Object data)
          Fired when the data in a given cell changes.
 void onSetData(int firstRow, java.util.Iterator rows)
          Fired when a block of data changes.
 

Method Detail

onNumRowsChanged

void onNumRowsChanged(int numRows)
Fired when the number of rows changes.

Parameters:
numRows - the new number of rows

onRowInserted

void onRowInserted(int beforeRow)
Fired when a row is inserted.

Parameters:
beforeRow - the row index

onRowRemoved

void onRowRemoved(int row)
Fired when a row is removed.

Parameters:
row - the row index

onSetData

void onSetData(int row,
               int column,
               java.lang.Object data)
Fired when the data in a given cell changes.

Parameters:
row - the row index
column - the column index
data - the data to set

onSetData

void onSetData(int firstRow,
               java.util.Iterator rows)
Fired when a block of data changes. This method takes an iterator of Collections, where each collection represents one row of data starting with the first row.

Parameters:
firstRow - the row index
rows - the 2D Iterator of data