Interface TablePaneListener

    • Method Detail

      • rowInserted

        default void rowInserted​(TablePane tablePane,
                                 int index)
        Called when a row has been inserted into a table pane.
        Parameters:
        tablePane - The source of this event.
        index - The index of the inserted row.
      • rowsRemoved

        default void rowsRemoved​(TablePane tablePane,
                                 int index,
                                 Sequence<TablePane.Row> rows)
        Called when rows have been removed from a table pane.
        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

        default void rowHeightChanged​(TablePane.Row row,
                                      int previousHeight,
                                      boolean previousRelative)
        Called when a row's height has changed.
        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

        default void rowHighlightedChanged​(TablePane.Row row)
        Called when a row's highlighted state has changed.
        Parameters:
        row - The source of this event.
      • columnInserted

        default void columnInserted​(TablePane tablePane,
                                    int index)
        Called when a column has been inserted into a table pane.
        Parameters:
        tablePane - The table pane that changed.
        index - The location where the column was inserted.
      • columnsRemoved

        default void columnsRemoved​(TablePane tablePane,
                                    int index,
                                    Sequence<TablePane.Column> columns)
        Called when columns have been removed from a table pane.
        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

        default void columnWidthChanged​(TablePane.Column column,
                                        int previousWidth,
                                        boolean previousRelative)
        Called when a column's width has changed.
        Parameters:
        column - The column that changed.
        previousWidth - The previous numeric value of the width.
        previousRelative - Whether the previous width was relative or not.
      • columnHighlightedChanged

        default void columnHighlightedChanged​(TablePane.Column column)
        Called when a column's highlighted state has changed.
        Parameters:
        column - The column that changed.
      • cellInserted

        default void cellInserted​(TablePane.Row row,
                                  int column)
        Called when a cell has been inserted into a table pane.
        Parameters:
        row - The table pane row that has changed.
        column - The index of the new column.
      • cellsRemoved

        default void cellsRemoved​(TablePane.Row row,
                                  int column,
                                  Sequence<Component> removed)
        Called when cells have been removed from a table pane.
        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

        default void cellUpdated​(TablePane.Row row,
                                 int column,
                                 Component previousComponent)
        Called when a cell has been updated in a table pane.
        Parameters:
        row - The table pane row that was changed.
        column - Index of the column that was updated.
        previousComponent - The previous cell contents.