Interface GridPaneListener

    • 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.