APIdia Launch Partner
Top Description Methods
javax.swing.event

public Interface TableColumnModelListener

extends EventListener
Known Direct Implementers
javax.swing.table.JTableHeader, javax.swing.JTable, javax.swing.JTable.AccessibleJTable
Imports
javax.swing.event.ListSelectionEvent, .ChangeEvent, java.util.EventListener

TableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel.
Author
Alan Chung
See Also
TableColumnModelEvent

Method Summary

Modifier and TypeMethod and Description
public void
columnAdded(TableColumnModelEvent
a TableColumnModelEvent
e
)

Tells listeners that a column was added to the model.

public void
columnMarginChanged(ChangeEvent
a ChangeEvent
e
)

Tells listeners that a column was moved due to a margin change.

public void
columnMoved(TableColumnModelEvent
a TableColumnModelEvent
e
)

Tells listeners that a column was repositioned.

public void
columnRemoved(TableColumnModelEvent
a TableColumnModelEvent
e
)

Tells listeners that a column was removed from the model.

public void
columnSelectionChanged(ListSelectionEvent
a ListSelectionEvent
e
)

Tells listeners that the selection model of the TableColumnModel changed.

Method Detail

columnAddedback to summary
public void columnAdded(TableColumnModelEvent e)

Tells listeners that a column was added to the model.

Parameters
e:TableColumnModelEvent

a TableColumnModelEvent

columnMarginChangedback to summary
public void columnMarginChanged(ChangeEvent e)

Tells listeners that a column was moved due to a margin change.

Parameters
e:ChangeEvent

a ChangeEvent

columnMovedback to summary
public void columnMoved(TableColumnModelEvent e)

Tells listeners that a column was repositioned.

Parameters
e:TableColumnModelEvent

a TableColumnModelEvent

columnRemovedback to summary
public void columnRemoved(TableColumnModelEvent e)

Tells listeners that a column was removed from the model.

Parameters
e:TableColumnModelEvent

a TableColumnModelEvent

columnSelectionChangedback to summary
public void columnSelectionChanged(ListSelectionEvent e)

Tells listeners that the selection model of the TableColumnModel changed.

Parameters
e:ListSelectionEvent

a ListSelectionEvent