Package org.apache.pivot.wtk
Class TableViewRowListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.TableViewRowListener.Adapter
-
- All Implemented Interfaces:
TableViewRowListener
- Enclosing interface:
- TableViewRowListener
@Deprecated public static class TableViewRowListener.Adapter extends java.lang.Object implements TableViewRowListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Table row listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TableViewRowListener
TableViewRowListener.Adapter, TableViewRowListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
rowInserted(TableView tableView, int index)
Deprecated.Called when a row has been inserted into the table view.void
rowsCleared(TableView tableView)
Deprecated.Called when the rows in a table view have been cleared.void
rowsRemoved(TableView tableView, int index, int count)
Deprecated.Called when rows have been removed from the table view.void
rowsSorted(TableView tableView)
Deprecated.Called when the rows in a table have been sorted.void
rowUpdated(TableView tableView, int index)
Deprecated.Called when an row in the table view has been updated.
-
-
-
Method Detail
-
rowInserted
public void rowInserted(TableView tableView, int index)
Deprecated.Description copied from interface:TableViewRowListener
Called when a row has been inserted into the table view.- Specified by:
rowInserted
in interfaceTableViewRowListener
- 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)
Deprecated.Description copied from interface:TableViewRowListener
Called when rows have been removed from the table view.- Specified by:
rowsRemoved
in interfaceTableViewRowListener
- 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)
Deprecated.Description copied from interface:TableViewRowListener
Called when an row in the table view has been updated.- Specified by:
rowUpdated
in interfaceTableViewRowListener
- Parameters:
tableView
- The source of the event.index
- The first index affected by the event.
-
rowsCleared
public void rowsCleared(TableView tableView)
Deprecated.Description copied from interface:TableViewRowListener
Called when the rows in a table view have been cleared.- Specified by:
rowsCleared
in interfaceTableViewRowListener
- Parameters:
tableView
- The source of the event.
-
rowsSorted
public void rowsSorted(TableView tableView)
Deprecated.Description copied from interface:TableViewRowListener
Called when the rows in a table have been sorted.- Specified by:
rowsSorted
in interfaceTableViewRowListener
- Parameters:
tableView
- The source of the event.
-
-