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


public interface TableModelListener

Event listener for TableModel class.


Method Summary
 void onRowCountChanged(int rowCount)
          Event fired when the number of rows changes.
 void onRowInserted(int beforeRow)
          Event fired when a row is inserted.
 void onRowRemoved(int row)
          Event fired when a row is removed.
 void onSetData(int row, int cell, java.lang.Object data)
          Event fired when the data changes.
 

Method Detail

onRowCountChanged

void onRowCountChanged(int rowCount)
Event fired when the number of rows changes.

Parameters:
rowCount - the row count

onRowInserted

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

Parameters:
beforeRow - the row index of the new row

onRowRemoved

void onRowRemoved(int row)
Event fired when a row is removed.

Parameters:
row - the row index of the removed row

onSetData

void onSetData(int row,
               int cell,
               java.lang.Object data)
Event fired when the data changes.

Parameters:
row - the row index
cell - the cell index
data - the new contents of the cell