21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.swing.event;
27
28 import java.util.EventObject;
29 import javax.swing.table.*;
30
31 /**
32 * <B>TableColumnModelEvent</B> is used to notify listeners that a table
33 * column model has changed, such as a column was added, removed, or
34 * moved.
35 * <p>
36 * <strong>Warning:</strong>
37 * Serialized objects of this class will not be compatible with
38 * future Swing releases. The current serialization support is
39 * appropriate for short term storage or RMI between applications running
40 * the same version of Swing. As of 1.4, support for long term storage
41 * of all JavaBeans™
42 * has been added to the <code>java.beans</code> package.
43 * Please see {@link java.beans.XMLEncoder}.
44 *
45 * @author Alan Chung
46 * @see TableColumnModelListener
47 */
48 @SuppressWarnings("serial") // Same-version serialization only
49 public class TableColumnModelEvent extends java.util.EventObject
50 {
51 //
52 // Instance Variables
53 //
54
55 /** The index of the column from where it was moved or removed */
56 protected int fromIndex;
57
58 /** The index of the column to where it was moved or added */
59 protected int toIndex;
60
61 //
|
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javax.swing.event;
27
28 import java.util.EventObject;
29 import javax.swing.table.*;
30
31 /**
32 * <B>TableColumnModelEvent</B> is used to notify listeners that a table
33 * column model has changed, such as a column was added, removed, or
34 * moved.
35 * <p>
36 * <strong>Warning:</strong>
37 * Serialized objects of this class will not be compatible with
38 * future Swing releases. The current serialization support is
39 * appropriate for short term storage or RMI between applications running
40 * the same version of Swing. As of 1.4, support for long term storage
41 * of all JavaBeans
42 * has been added to the <code>java.beans</code> package.
43 * Please see {@link java.beans.XMLEncoder}.
44 *
45 * @author Alan Chung
46 * @see TableColumnModelListener
47 */
48 @SuppressWarnings("serial") // Same-version serialization only
49 public class TableColumnModelEvent extends java.util.EventObject
50 {
51 //
52 // Instance Variables
53 //
54
55 /** The index of the column from where it was moved or removed */
56 protected int fromIndex;
57
58 /** The index of the column to where it was moved or added */
59 protected int toIndex;
60
61 //
|