org.apache.pivot.wtk
Interface TableViewRowListener

All Known Implementing Classes:
TableViewRowListener.Adapter, TerraTableViewSkin

public interface TableViewRowListener

Table view row listener interface.


Nested Class Summary
static class TableViewRowListener.Adapter
          Table row listener adapter.
 
Method Summary
 void rowInserted(TableView tableView, int index)
          Called when a row has been inserted into the table view.
 void rowsCleared(TableView tableView)
          Called when the rows in a table view have been cleared.
 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.

rowsCleared

void rowsCleared(TableView tableView)
Called when the rows in a table view have been cleared.

Parameters:
tableView -

rowsSorted

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

Parameters:
tableView - The source of the event.