Package org.apache.pivot.wtk
Interface GridPaneListener
-
- All Known Implementing Classes:
GridPaneListener.Adapter
,GridPaneListener.Listeners
,GridPaneSkin
,TerraGridPaneSkin
public interface GridPaneListener
Grid pane listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GridPaneListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
GridPaneListener.Listeners
Grid pane listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
cellInserted(GridPane.Row row, int column)
Called when a cell has been inserted into a grid pane.default void
cellsRemoved(GridPane.Row row, int column, Sequence<Component> removed)
Called when cells have been removed from a grid pane.default void
cellUpdated(GridPane.Row row, int column, Component previousComponent)
Called when a cell has been updated in a grid pane.default void
columnCountChanged(GridPane gridPane, int previousColumnCount)
Called when a grid pane's column count has changed.default void
rowInserted(GridPane gridPane, int index)
Called when a row has been inserted into a grid pane.default void
rowsRemoved(GridPane gridPane, int index, Sequence<GridPane.Row> rows)
Called when rows have been removed from a grid pane.
-
-
-
Method Detail
-
columnCountChanged
default void columnCountChanged(GridPane gridPane, int previousColumnCount)
Called when a grid pane's column count has changed.- Parameters:
gridPane
- The grid pane that has changed.previousColumnCount
- The previous column count for the grid.
-
rowInserted
default void rowInserted(GridPane gridPane, int index)
Called when a row has been inserted into a grid pane.- Parameters:
gridPane
- The grid pane that has changed.index
- The index of the row that was just inserted.
-
rowsRemoved
default void rowsRemoved(GridPane gridPane, int index, Sequence<GridPane.Row> rows)
Called when rows have been removed from a grid pane.- 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
default void cellInserted(GridPane.Row row, int column)
Called when a cell has been inserted into a grid pane.- Parameters:
row
- The parent row of the cell that was inserted.column
- The column index of the inserted cell.
-
cellsRemoved
default void cellsRemoved(GridPane.Row row, int column, Sequence<Component> removed)
Called when cells have been removed from a grid pane.- 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
default void cellUpdated(GridPane.Row row, int column, Component previousComponent)
Called when a cell has been updated in a grid pane.- 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.
-
-