- /*
- * @(#)MenuListener.java 1.9 00/02/02
- *
- * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
- *
- * This software is the proprietary information of Sun Microsystems, Inc.
- * Use is subject to license terms.
- *
- */
- package javax.swing.event;
-
-
- import java.util.EventListener;
-
-
- /**
- * Defines a listener for menu events.
- *
- * @version 1.9 02/02/00
- * @author Georges Saab
- */
- public interface MenuListener extends EventListener {
- /**
- * Invoked when a menu is selected.
- *
- * @param e a MenuEvent object
- */
- void menuSelected(MenuEvent e);
- /**
- * Invoked when the menu is deselected.
- *
- * @param e a MenuEvent object
- */
- void menuDeselected(MenuEvent e);
- /**
- * Invoked when the menu is canceled.
- *
- * @param e a MenuEvent object
- */
- void menuCanceled(MenuEvent e);
- }
-