Package org.apache.pivot.wtk
Class GridPaneListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.GridPaneListener.Adapter
-
- All Implemented Interfaces:
GridPaneListener
- Enclosing interface:
- GridPaneListener
@Deprecated public static class GridPaneListener.Adapter extends java.lang.Object implements GridPaneListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Grid pane listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.GridPaneListener
GridPaneListener.Adapter, GridPaneListener.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(GridPane.Row row, int column)
Deprecated.Called when a cell has been inserted into a grid pane.void
cellsRemoved(GridPane.Row row, int column, Sequence<Component> removed)
Deprecated.Called when cells have been removed from a grid pane.void
cellUpdated(GridPane.Row row, int column, Component previousComponent)
Deprecated.Called when a cell has been updated in a grid pane.void
columnCountChanged(GridPane gridPane, int previousColumnCount)
Deprecated.Called when a grid pane's column count has changed.void
rowInserted(GridPane gridPane, int index)
Deprecated.Called when a row has been inserted into a grid pane.void
rowsRemoved(GridPane gridPane, int index, Sequence<GridPane.Row> rows)
Deprecated.Called when rows have been removed from a grid pane.
-
-
-
Method Detail
-
columnCountChanged
public void columnCountChanged(GridPane gridPane, int previousColumnCount)
Deprecated.Description copied from interface:GridPaneListener
Called when a grid pane's column count has changed.- Specified by:
columnCountChanged
in interfaceGridPaneListener
- Parameters:
gridPane
- The grid pane that has changed.previousColumnCount
- The previous column count for the grid.
-
rowInserted
public void rowInserted(GridPane gridPane, int index)
Deprecated.Description copied from interface:GridPaneListener
Called when a row has been inserted into a grid pane.- Specified by:
rowInserted
in interfaceGridPaneListener
- Parameters:
gridPane
- The grid pane that has changed.index
- The index of the row that was just inserted.
-
rowsRemoved
public void rowsRemoved(GridPane gridPane, int index, Sequence<GridPane.Row> rows)
Deprecated.Description copied from interface:GridPaneListener
Called when rows have been removed from a grid pane.- Specified by:
rowsRemoved
in interfaceGridPaneListener
- Parameters:
gridPane
- The grid pane that has changed.index
- The starting index of the row(s) that were removed.rows
- The complete sequence of removed rows.
-
cellInserted
public void cellInserted(GridPane.Row row, int column)
Deprecated.Description copied from interface:GridPaneListener
Called when a cell has been inserted into a grid pane.- Specified by:
cellInserted
in interfaceGridPaneListener
- Parameters:
row
- The parent row of the cell that was inserted.column
- The column index of the inserted cell.
-
cellsRemoved
public void cellsRemoved(GridPane.Row row, int column, Sequence<Component> removed)
Deprecated.Description copied from interface:GridPaneListener
Called when cells have been removed from a grid pane.- Specified by:
cellsRemoved
in interfaceGridPaneListener
- Parameters:
row
- The parent row of the removed cell(s).column
- The starting column index of the removed cells.removed
- The complete sequence of removed cells.
-
cellUpdated
public void cellUpdated(GridPane.Row row, int column, Component previousComponent)
Deprecated.Description copied from interface:GridPaneListener
Called when a cell has been updated in a grid pane.- Specified by:
cellUpdated
in interfaceGridPaneListener
- Parameters:
row
- The parent row object of the updated cell.column
- The column index of the updated cell.previousComponent
- The previous contents of this cell.
-
-