org.apache.pivot.wtk
Interface TablePaneListener

All Known Implementing Classes:
TablePaneListener.Adapter, TablePaneSkin, TerraTablePaneSkin

public interface TablePaneListener

Table pane listener interface.


Nested Class Summary
static class TablePaneListener.Adapter
          Table pane listener adapter.
 
Method Summary
 void cellInserted(TablePane.Row row, int column)
          Called when a cell has been inserted into a table pane.
 void cellsRemoved(TablePane.Row row, int column, Sequence<Component> removed)
          Called when cell's have been removed from a table pane.
 void cellUpdated(TablePane.Row row, int column, Component previousComponent)
          Called when a cell has been updated in a table pane.
 void columnHighlightedChanged(TablePane.Column column)
          Called when a column's highlighted state has changed.
 void columnInserted(TablePane tablePane, int index)
          Called when a column has been inserted into a table pane.
 void columnsRemoved(TablePane tablePane, int index, Sequence<TablePane.Column> columns)
          Called when column's have been removed from a table pane.
 void columnWidthChanged(TablePane.Column column, int previousWidth, boolean previousRelative)
          Called when a column's width has changed.
 void rowHeightChanged(TablePane.Row row, int previousHeight, boolean previousRelative)
          Called when a row's height has changed.
 void rowHighlightedChanged(TablePane.Row row)
          Called when a row's highlighted state has changed.
 void rowInserted(TablePane tablePane, int index)
          Called when a row has been inserted into a table pane.
 void rowsRemoved(TablePane tablePane, int index, Sequence<TablePane.Row> rows)
          Called when rows have been removed from a table pane.
 

Method Detail

rowInserted

void rowInserted(TablePane tablePane,
                 int index)
Called when a row has been inserted into a table pane.

Parameters:
tablePane -
index -

rowsRemoved

void rowsRemoved(TablePane tablePane,
                 int index,
                 Sequence<TablePane.Row> rows)
Called when rows have been removed from a table pane.

Parameters:
tablePane -
index -
rows -

rowHeightChanged

void rowHeightChanged(TablePane.Row row,
                      int previousHeight,
                      boolean previousRelative)
Called when a row's height has changed.

Parameters:
row -
previousHeight -
previousRelative -

rowHighlightedChanged

void rowHighlightedChanged(TablePane.Row row)
Called when a row's highlighted state has changed.

Parameters:
row -

columnInserted

void columnInserted(TablePane tablePane,
                    int index)
Called when a column has been inserted into a table pane.

Parameters:
tablePane -
index -

columnsRemoved

void columnsRemoved(TablePane tablePane,
                    int index,
                    Sequence<TablePane.Column> columns)
Called when column's have been removed from a table pane.

Parameters:
tablePane -
index -
columns -

columnWidthChanged

void columnWidthChanged(TablePane.Column column,
                        int previousWidth,
                        boolean previousRelative)
Called when a column's width has changed.

Parameters:
column -
previousWidth -
previousRelative -

columnHighlightedChanged

void columnHighlightedChanged(TablePane.Column column)
Called when a column's highlighted state has changed.

Parameters:
column -

cellInserted

void cellInserted(TablePane.Row row,
                  int column)
Called when a cell has been inserted into a table pane.

Parameters:
row -
column -

cellsRemoved

void cellsRemoved(TablePane.Row row,
                  int column,
                  Sequence<Component> removed)
Called when cell's have been removed from a table pane.

Parameters:
row -
column -
removed -

cellUpdated

void cellUpdated(TablePane.Row row,
                 int column,
                 Component previousComponent)
Called when a cell has been updated in a table pane.

Parameters:
row -
column -
previousComponent -