KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > event > TableColumnModelListener


1 /*
2  * @(#)TableColumnModelListener.java 1.13 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package javax.swing.event;
9
10 import javax.swing.event.ListSelectionEvent JavaDoc;
11 import javax.swing.event.ChangeEvent JavaDoc;
12 import java.util.EventListener JavaDoc;
13
14 /**
15  * TableColumnModelListener defines the interface for an object that listens
16  * to changes in a TableColumnModel.
17  *
18  * @version 1.13 12/19/03
19  * @author Alan Chung
20  * @see TableColumnModelEvent
21  */

22
23 public interface TableColumnModelListener extends java.util.EventListener JavaDoc
24 {
25     /** Tells listeners that a column was added to the model. */
26     public void columnAdded(TableColumnModelEvent JavaDoc e);
27
28     /** Tells listeners that a column was removed from the model. */
29     public void columnRemoved(TableColumnModelEvent JavaDoc e);
30
31     /** Tells listeners that a column was repositioned. */
32     public void columnMoved(TableColumnModelEvent JavaDoc e);
33
34     /** Tells listeners that a column was moved due to a margin change. */
35     public void columnMarginChanged(ChangeEvent JavaDoc e);
36
37     /**
38      * Tells listeners that the selection model of the
39      * TableColumnModel changed.
40      */

41     public void columnSelectionChanged(ListSelectionEvent JavaDoc e);
42 }
43
44
Popular Tags