javax.swing.event

Interface TableColumnModelListener

public interface TableColumnModelListener extends EventListener

A TableColumnModelListener can register with a {@link TableColumnModel} to receive notification of changes to the model.
Method Summary
voidcolumnAdded(TableColumnModelEvent event)
Called by the {@link TableColumnModel} to indicate that a column has been added to the model.
voidcolumnMarginChanged(ChangeEvent event)
Called by the {@link TableColumnModel} to indicate that the model's column margin has changed.
voidcolumnMoved(TableColumnModelEvent event)
Called by the {@link TableColumnModel} to indicate that a column has been moved.
voidcolumnRemoved(TableColumnModelEvent event)
Called by the {@link TableColumnModel} to indicate that a column has been removed from the model.
voidcolumnSelectionChanged(ListSelectionEvent event)
Called by the {@link TableColumnModel} to indicate that the column selection state has changed.

Method Detail

columnAdded

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

Parameters: event information about the column addition.

columnMarginChanged

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

Parameters: event the event (identifies the source).

columnMoved

public void columnMoved(TableColumnModelEvent event)
Called by the {@link TableColumnModel} to indicate that a column has been moved.

Parameters: event information about the column move.

columnRemoved

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

Parameters: event information about the column removal.

columnSelectionChanged

public void columnSelectionChanged(ListSelectionEvent event)
Called by the {@link TableColumnModel} to indicate that the column selection state has changed.

Parameters: event information about the column selection state.