org.apache.pivot.wtk
Class TableViewRowListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.TableViewRowListener.Adapter
All Implemented Interfaces:
TableViewRowListener
Enclosing interface:
TableViewRowListener

public static class TableViewRowListener.Adapter
extends Object
implements TableViewRowListener

Table row listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TableViewRowListener
TableViewRowListener.Adapter
 
Constructor Summary
TableViewRowListener.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableViewRowListener.Adapter

public TableViewRowListener.Adapter()
Method Detail

rowInserted

public void rowInserted(TableView tableView,
                        int index)
Description copied from interface: TableViewRowListener
Called when a row has been inserted into the table view.

Specified by:
rowInserted in interface TableViewRowListener
Parameters:
tableView - The source of the event.
index - The index of the row that was inserted.

rowsRemoved

public void rowsRemoved(TableView tableView,
                        int index,
                        int count)
Description copied from interface: TableViewRowListener
Called when rows have been removed from the table view.

Specified by:
rowsRemoved in interface TableViewRowListener
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

public void rowUpdated(TableView tableView,
                       int index)
Description copied from interface: TableViewRowListener
Called when an row in the table view has been updated.

Specified by:
rowUpdated in interface TableViewRowListener
Parameters:
tableView - The source of the event.
index - The first index affected by the event.

rowsCleared

public void rowsCleared(TableView tableView)
Description copied from interface: TableViewRowListener
Called when the rows in a table view have been cleared.

Specified by:
rowsCleared in interface TableViewRowListener

rowsSorted

public void rowsSorted(TableView tableView)
Description copied from interface: TableViewRowListener
Called when the rows in a table have been sorted.

Specified by:
rowsSorted in interface TableViewRowListener
Parameters:
tableView - The source of the event.