KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)MenuEvent.java 1.15 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 package javax.swing.event;
8
9 import java.util.EventObject JavaDoc;
10
11
12 /**
13  * MenuEvent is used to notify interested parties that
14  * the menu which is the event source has been posted,
15  * selected, or canceled.
16  * <p>
17  * <strong>Warning:</strong>
18  * Serialized objects of this class will not be compatible with
19  * future Swing releases. The current serialization support is
20  * appropriate for short term storage or RMI between applications running
21  * the same version of Swing. As of 1.4, support for long term storage
22  * of all JavaBeans<sup><font size="-2">TM</font></sup>
23  * has been added to the <code>java.beans</code> package.
24  * Please see {@link java.beans.XMLEncoder}.
25  *
26  * @version 1.15 12/19/03
27  * @author Georges Saab
28  * @author David Karlton
29  */

30 public class MenuEvent extends EventObject JavaDoc {
31     /**
32      * Constructs a MenuEvent object.
33      *
34      * @param source the Object that originated the event
35      * (typically <code>this</code>)
36      */

37     public MenuEvent(Object JavaDoc source) {
38         super(source);
39     }
40 }
41
42
Popular Tags