pivot.wtk
Interface TableViewRowListener

All Known Implementing Classes:
TerraTableViewSkin

public interface TableViewRowListener

Table view row listener interface.

Author:
gbrown

Method Summary
 void rowInserted(TableView tableView, int index)
          Called when a row has been inserted into the table view.
 void rowsRemoved(TableView tableView, int index, int count)
          Called when rows have been removed from the table view.
 void rowsSorted(TableView tableView)
          Called when the rows in a table have been sorted.
 void rowUpdated(TableView tableView, int index)
          Called when an row in the table view has been updated.
 

Method Detail

rowInserted

void rowInserted(TableView tableView,
                 int index)
Called when a row has been inserted into the table view.

Parameters:
tableView - The source of the event.
index - The index of the row that was inserted.

rowsRemoved

void rowsRemoved(TableView tableView,
                 int index,
                 int count)
Called when rows have been removed from the table view.

Parameters:
tableView - The source of the event.
index - The first index affected by the event.
count - The number of rows that were removed, or -1 if all rows were removed.

rowUpdated

void rowUpdated(TableView tableView,
                int index)
Called when an row in the table view has been updated.

Parameters:
tableView - The source of the event.
index - The first index affected by the event.

rowsSorted

void rowsSorted(TableView tableView)
Called when the rows in a table have been sorted.

Parameters:
tableView - The source of the event.