KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > events > MenuEvent


1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.swt.events;
12
13
14 import org.eclipse.swt.widgets.Event;
15
16 /**
17  * Instances of this class are sent as a result of
18  * menus being shown and hidden.
19  *
20  * @see MenuListener
21  */

22
23 public final class MenuEvent extends TypedEvent {
24
25     static final long serialVersionUID = 3258132440332383025L;
26
27 /**
28  * Constructs a new instance of this class based on the
29  * information in the given untyped event.
30  *
31  * @param e the untyped event containing the information
32  */

33 public MenuEvent(Event e) {
34     super(e);
35 }
36
37 }
38
39
Popular Tags