javax.swing.event
Interface TableColumnModelListener

All Superinterfaces:
EventListener sample code for java.util.EventListener definition code for java.util.EventListener
All Known Implementing Classes:
JTable sample code for javax.swing.JTable definition code for javax.swing.JTable , JTable.AccessibleJTable sample code for javax.swing.JTable.AccessibleJTable definition code for javax.swing.JTable.AccessibleJTable , JTableHeader sample code for javax.swing.table.JTableHeader definition code for javax.swing.table.JTableHeader

public interface TableColumnModelListener
extends EventListener sample code for java.util.EventListener definition code for java.util.EventListener

TableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel.

See Also:
TableColumnModelEvent sample code for javax.swing.event.TableColumnModelEvent definition code for javax.swing.event.TableColumnModelEvent

Method Summary
 void columnAdded sample code for javax.swing.event.TableColumnModelListener.columnAdded(javax.swing.event.TableColumnModelEvent) definition code for javax.swing.event.TableColumnModelListener.columnAdded(javax.swing.event.TableColumnModelEvent) (TableColumnModelEvent sample code for javax.swing.event.TableColumnModelEvent definition code for javax.swing.event.TableColumnModelEvent  e)
          Tells listeners that a column was added to the model.
 void columnMarginChanged sample code for javax.swing.event.TableColumnModelListener.columnMarginChanged(javax.swing.event.ChangeEvent) definition code for javax.swing.event.TableColumnModelListener.columnMarginChanged(javax.swing.event.ChangeEvent) (ChangeEvent sample code for javax.swing.event.ChangeEvent definition code for javax.swing.event.ChangeEvent  e)
          Tells listeners that a column was moved due to a margin change.
 void columnMoved sample code for javax.swing.event.TableColumnModelListener.columnMoved(javax.swing.event.TableColumnModelEvent) definition code for javax.swing.event.TableColumnModelListener.columnMoved(javax.swing.event.TableColumnModelEvent) (TableColumnModelEvent sample code for javax.swing.event.TableColumnModelEvent definition code for javax.swing.event.TableColumnModelEvent  e)
          Tells listeners that a column was repositioned.
 void columnRemoved sample code for javax.swing.event.TableColumnModelListener.columnRemoved(javax.swing.event.TableColumnModelEvent) definition code for javax.swing.event.TableColumnModelListener.columnRemoved(javax.swing.event.TableColumnModelEvent) (TableColumnModelEvent sample code for javax.swing.event.TableColumnModelEvent definition code for javax.swing.event.TableColumnModelEvent  e)
          Tells listeners that a column was removed from the model.
 void columnSelectionChanged sample code for javax.swing.event.TableColumnModelListener.columnSelectionChanged(javax.swing.event.ListSelectionEvent) definition code for javax.swing.event.TableColumnModelListener.columnSelectionChanged(javax.swing.event.ListSelectionEvent) (ListSelectionEvent sample code for javax.swing.event.ListSelectionEvent definition code for javax.swing.event.ListSelectionEvent  e)
          Tells listeners that the selection model of the TableColumnModel changed.
 

Method Detail

columnAdded sample code for javax.swing.event.TableColumnModelListener.columnAdded(javax.swing.event.TableColumnModelEvent) definition code for javax.swing.event.TableColumnModelListener.columnAdded(javax.swing.event.TableColumnModelEvent)

void columnAdded(TableColumnModelEvent sample code for javax.swing.event.TableColumnModelEvent definition code for javax.swing.event.TableColumnModelEvent  e)
Tells listeners that a column was added to the model.


columnRemoved sample code for javax.swing.event.TableColumnModelListener.columnRemoved(javax.swing.event.TableColumnModelEvent) definition code for javax.swing.event.TableColumnModelListener.columnRemoved(javax.swing.event.TableColumnModelEvent)

void columnRemoved(TableColumnModelEvent sample code for javax.swing.event.TableColumnModelEvent definition code for javax.swing.event.TableColumnModelEvent  e)
Tells listeners that a column was removed from the model.


columnMoved sample code for javax.swing.event.TableColumnModelListener.columnMoved(javax.swing.event.TableColumnModelEvent) definition code for javax.swing.event.TableColumnModelListener.columnMoved(javax.swing.event.TableColumnModelEvent)

void columnMoved(TableColumnModelEvent sample code for javax.swing.event.TableColumnModelEvent definition code for javax.swing.event.TableColumnModelEvent  e)
Tells listeners that a column was repositioned.


columnMarginChanged sample code for javax.swing.event.TableColumnModelListener.columnMarginChanged(javax.swing.event.ChangeEvent) definition code for javax.swing.event.TableColumnModelListener.columnMarginChanged(javax.swing.event.ChangeEvent)

void columnMarginChanged(ChangeEvent sample code for javax.swing.event.ChangeEvent definition code for javax.swing.event.ChangeEvent  e)
Tells listeners that a column was moved due to a margin change.


columnSelectionChanged sample code for javax.swing.event.TableColumnModelListener.columnSelectionChanged(javax.swing.event.ListSelectionEvent) definition code for javax.swing.event.TableColumnModelListener.columnSelectionChanged(javax.swing.event.ListSelectionEvent)

void columnSelectionChanged(ListSelectionEvent sample code for javax.swing.event.ListSelectionEvent definition code for javax.swing.event.ListSelectionEvent  e)
Tells listeners that the selection model of the TableColumnModel changed.