Package org.apache.pivot.wtk
Class TablePaneListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.TablePaneListener.Adapter
-
- All Implemented Interfaces:
TablePaneListener
- Enclosing interface:
- TablePaneListener
@Deprecated public static class TablePaneListener.Adapter extends java.lang.Object implements TablePaneListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Table pane listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TablePaneListener
TablePaneListener.Adapter, TablePaneListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
cellInserted(TablePane.Row row, int column)
Deprecated.Called when a cell has been inserted into a table pane.void
cellsRemoved(TablePane.Row row, int column, Sequence<Component> removed)
Deprecated.Called when cells have been removed from a table pane.void
cellUpdated(TablePane.Row row, int column, Component previousComponent)
Deprecated.Called when a cell has been updated in a table pane.void
columnHighlightedChanged(TablePane.Column column)
Deprecated.Called when a column's highlighted state has changed.void
columnInserted(TablePane tablePane, int index)
Deprecated.Called when a column has been inserted into a table pane.void
columnsRemoved(TablePane tablePane, int index, Sequence<TablePane.Column> columns)
Deprecated.Called when columns have been removed from a table pane.void
columnWidthChanged(TablePane.Column column, int previousWidth, boolean previousRelative)
Deprecated.Called when a column's width has changed.void
rowHeightChanged(TablePane.Row row, int previousHeight, boolean previousRelative)
Deprecated.Called when a row's height has changed.void
rowHighlightedChanged(TablePane.Row row)
Deprecated.Called when a row's highlighted state has changed.void
rowInserted(TablePane tablePane, int index)
Deprecated.Called when a row has been inserted into a table pane.void
rowsRemoved(TablePane tablePane, int index, Sequence<TablePane.Row> rows)
Deprecated.Called when rows have been removed from a table pane.
-
-
-
Method Detail
-
rowInserted
public void rowInserted(TablePane tablePane, int index)
Deprecated.Description copied from interface:TablePaneListener
Called when a row has been inserted into a table pane.- Specified by:
rowInserted
in interfaceTablePaneListener
- Parameters:
tablePane
- The source of this event.index
- The index of the inserted row.
-
rowsRemoved
public void rowsRemoved(TablePane tablePane, int index, Sequence<TablePane.Row> rows)
Deprecated.Description copied from interface:TablePaneListener
Called when rows have been removed from a table pane.- Specified by:
rowsRemoved
in interfaceTablePaneListener
- Parameters:
tablePane
- The source of this event.index
- The starting index of the rows that were removed.rows
- The actual sequence of rows that were removed.
-
rowHeightChanged
public void rowHeightChanged(TablePane.Row row, int previousHeight, boolean previousRelative)
Deprecated.Description copied from interface:TablePaneListener
Called when a row's height has changed.- Specified by:
rowHeightChanged
in interfaceTablePaneListener
- Parameters:
row
- The particular row whose height has changed.previousHeight
- The previous numeric height value.previousRelative
- Whether the previous row height was relative or not.
-
rowHighlightedChanged
public void rowHighlightedChanged(TablePane.Row row)
Deprecated.Description copied from interface:TablePaneListener
Called when a row's highlighted state has changed.- Specified by:
rowHighlightedChanged
in interfaceTablePaneListener
- Parameters:
row
- The source of this event.
-
columnInserted
public void columnInserted(TablePane tablePane, int index)
Deprecated.Description copied from interface:TablePaneListener
Called when a column has been inserted into a table pane.- Specified by:
columnInserted
in interfaceTablePaneListener
- Parameters:
tablePane
- The table pane that changed.index
- The location where the column was inserted.
-
columnsRemoved
public void columnsRemoved(TablePane tablePane, int index, Sequence<TablePane.Column> columns)
Deprecated.Description copied from interface:TablePaneListener
Called when columns have been removed from a table pane.- Specified by:
columnsRemoved
in interfaceTablePaneListener
- Parameters:
tablePane
- The table pane that changed.index
- The starting index of the removed columns.columns
- The actual sequence of the columns that were removed.
-
columnWidthChanged
public void columnWidthChanged(TablePane.Column column, int previousWidth, boolean previousRelative)
Deprecated.Description copied from interface:TablePaneListener
Called when a column's width has changed.- Specified by:
columnWidthChanged
in interfaceTablePaneListener
- Parameters:
column
- The column that changed.previousWidth
- The previous numeric value of the width.previousRelative
- Whether the previous width was relative or not.
-
columnHighlightedChanged
public void columnHighlightedChanged(TablePane.Column column)
Deprecated.Description copied from interface:TablePaneListener
Called when a column's highlighted state has changed.- Specified by:
columnHighlightedChanged
in interfaceTablePaneListener
- Parameters:
column
- The column that changed.
-
cellInserted
public void cellInserted(TablePane.Row row, int column)
Deprecated.Description copied from interface:TablePaneListener
Called when a cell has been inserted into a table pane.- Specified by:
cellInserted
in interfaceTablePaneListener
- Parameters:
row
- The table pane row that has changed.column
- The index of the new column.
-
cellsRemoved
public void cellsRemoved(TablePane.Row row, int column, Sequence<Component> removed)
Deprecated.Description copied from interface:TablePaneListener
Called when cells have been removed from a table pane.- Specified by:
cellsRemoved
in interfaceTablePaneListener
- Parameters:
row
- The table pane row that has changed.column
- The starting index of the column(s) that were removed.removed
- The actual sequence of removed columns.
-
cellUpdated
public void cellUpdated(TablePane.Row row, int column, Component previousComponent)
Deprecated.Description copied from interface:TablePaneListener
Called when a cell has been updated in a table pane.- Specified by:
cellUpdated
in interfaceTablePaneListener
- Parameters:
row
- The table pane row that was changed.column
- Index of the column that was updated.previousComponent
- The previous cell contents.
-
-