20 *
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 package javax.swing.event;
26
27 import java.util.EventObject;
28
29
30 /**
31 * MenuEvent is used to notify interested parties that
32 * the menu which is the event source has been posted,
33 * selected, or canceled.
34 * <p>
35 * <strong>Warning:</strong>
36 * Serialized objects of this class will not be compatible with
37 * future Swing releases. The current serialization support is
38 * appropriate for short term storage or RMI between applications running
39 * the same version of Swing. As of 1.4, support for long term storage
40 * of all JavaBeans™
41 * has been added to the <code>java.beans</code> package.
42 * Please see {@link java.beans.XMLEncoder}.
43 *
44 * @author Georges Saab
45 * @author David Karlton
46 */
47 @SuppressWarnings("serial")
48 public class MenuEvent extends EventObject {
49 /**
50 * Constructs a MenuEvent object.
51 *
52 * @param source the Object that originated the event
53 * (typically <code>this</code>)
54 */
55 public MenuEvent(Object source) {
56 super(source);
57 }
58 }
|
20 *
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 package javax.swing.event;
26
27 import java.util.EventObject;
28
29
30 /**
31 * MenuEvent is used to notify interested parties that
32 * the menu which is the event source has been posted,
33 * selected, or canceled.
34 * <p>
35 * <strong>Warning:</strong>
36 * Serialized objects of this class will not be compatible with
37 * future Swing releases. The current serialization support is
38 * appropriate for short term storage or RMI between applications running
39 * the same version of Swing. As of 1.4, support for long term storage
40 * of all JavaBeans
41 * has been added to the <code>java.beans</code> package.
42 * Please see {@link java.beans.XMLEncoder}.
43 *
44 * @author Georges Saab
45 * @author David Karlton
46 */
47 @SuppressWarnings("serial")
48 public class MenuEvent extends EventObject {
49 /**
50 * Constructs a MenuEvent object.
51 *
52 * @param source the Object that originated the event
53 * (typically <code>this</code>)
54 */
55 public MenuEvent(Object source) {
56 super(source);
57 }
58 }
|