26 package javax.swing;
27
28 import javax.swing.event.*;
29 import java.util.EventObject;
30 import java.io.Serializable;
31
32 /**
33 *
34 * A base class for <code>CellEditors</code>, providing default
35 * implementations for the methods in the <code>CellEditor</code>
36 * interface except <code>getCellEditorValue()</code>.
37 * Like the other abstract implementations in Swing, also manages a list
38 * of listeners.
39 *
40 * <p>
41 * <strong>Warning:</strong>
42 * Serialized objects of this class will not be compatible with
43 * future Swing releases. The current serialization support is
44 * appropriate for short term storage or RMI between applications running
45 * the same version of Swing. As of 1.4, support for long term storage
46 * of all JavaBeans™
47 * has been added to the <code>java.beans</code> package.
48 * Please see {@link java.beans.XMLEncoder}.
49 *
50 * @author Philip Milne
51 * @since 1.3
52 */
53 @SuppressWarnings("serial") // Same-version serialization only
54 public abstract class AbstractCellEditor implements CellEditor, Serializable {
55
56 /**
57 * The list of listeners.
58 */
59 protected EventListenerList listenerList = new EventListenerList();
60 /**
61 * The change event.
62 */
63 protected transient ChangeEvent changeEvent = null;
64
65 // Force this to be implemented.
66 // public Object getCellEditorValue()
|
26 package javax.swing;
27
28 import javax.swing.event.*;
29 import java.util.EventObject;
30 import java.io.Serializable;
31
32 /**
33 *
34 * A base class for <code>CellEditors</code>, providing default
35 * implementations for the methods in the <code>CellEditor</code>
36 * interface except <code>getCellEditorValue()</code>.
37 * Like the other abstract implementations in Swing, also manages a list
38 * of listeners.
39 *
40 * <p>
41 * <strong>Warning:</strong>
42 * Serialized objects of this class will not be compatible with
43 * future Swing releases. The current serialization support is
44 * appropriate for short term storage or RMI between applications running
45 * the same version of Swing. As of 1.4, support for long term storage
46 * of all JavaBeans
47 * has been added to the <code>java.beans</code> package.
48 * Please see {@link java.beans.XMLEncoder}.
49 *
50 * @author Philip Milne
51 * @since 1.3
52 */
53 @SuppressWarnings("serial") // Same-version serialization only
54 public abstract class AbstractCellEditor implements CellEditor, Serializable {
55
56 /**
57 * The list of listeners.
58 */
59 protected EventListenerList listenerList = new EventListenerList();
60 /**
61 * The change event.
62 */
63 protected transient ChangeEvent changeEvent = null;
64
65 // Force this to be implemented.
66 // public Object getCellEditorValue()
|