javax.swing.event
Interface TableColumnModelListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
JTable, JTable.AccessibleJTable, JTableHeader

public interface TableColumnModelListener
extends EventListener

A TableColumnModelListener can register with a TableColumnModel to receive notification of changes to the model.


Method Summary
 void columnAdded(TableColumnModelEvent event)
          Called by the TableColumnModel to indicate that a column has been added to the model.
 void columnMarginChanged(ChangeEvent event)
          Called by the TableColumnModel to indicate that the model's column margin has changed.
 void columnMoved(TableColumnModelEvent event)
          Called by the TableColumnModel to indicate that a column has been moved.
 void columnRemoved(TableColumnModelEvent event)
          Called by the TableColumnModel to indicate that a column has been removed from the model.
 void columnSelectionChanged(ListSelectionEvent event)
          Called by the TableColumnModel to indicate that the column selection state has changed.
 

Method Detail

columnAdded

void columnAdded(TableColumnModelEvent event)
Called by the TableColumnModel to indicate that a column has been added to the model.

Parameters:
event - information about the column addition.

columnMarginChanged

void columnMarginChanged(ChangeEvent event)
Called by the TableColumnModel to indicate that the model's column margin has changed.

Parameters:
event - the event (identifies the source).

columnMoved

void columnMoved(TableColumnModelEvent event)
Called by the TableColumnModel to indicate that a column has been moved.

Parameters:
event - information about the column move.

columnRemoved

void columnRemoved(TableColumnModelEvent event)
Called by the TableColumnModel to indicate that a column has been removed from the model.

Parameters:
event - information about the column removal.

columnSelectionChanged

void columnSelectionChanged(ListSelectionEvent event)
Called by the TableColumnModel to indicate that the column selection state has changed.

Parameters:
event - information about the column selection state.