javax.swing.event
Interface MenuListener

All Superinterfaces:
EventListener sample code for java.util.EventListener definition code for java.util.EventListener

public interface MenuListener
extends EventListener sample code for java.util.EventListener definition code for java.util.EventListener

Defines a listener for menu events.


Method Summary
 void menuCanceled sample code for javax.swing.event.MenuListener.menuCanceled(javax.swing.event.MenuEvent) definition code for javax.swing.event.MenuListener.menuCanceled(javax.swing.event.MenuEvent) (MenuEvent sample code for javax.swing.event.MenuEvent definition code for javax.swing.event.MenuEvent  e)
          Invoked when the menu is canceled.
 void menuDeselected sample code for javax.swing.event.MenuListener.menuDeselected(javax.swing.event.MenuEvent) definition code for javax.swing.event.MenuListener.menuDeselected(javax.swing.event.MenuEvent) (MenuEvent sample code for javax.swing.event.MenuEvent definition code for javax.swing.event.MenuEvent  e)
          Invoked when the menu is deselected.
 void menuSelected sample code for javax.swing.event.MenuListener.menuSelected(javax.swing.event.MenuEvent) definition code for javax.swing.event.MenuListener.menuSelected(javax.swing.event.MenuEvent) (MenuEvent sample code for javax.swing.event.MenuEvent definition code for javax.swing.event.MenuEvent  e)
          Invoked when a menu is selected.
 

Method Detail

menuSelected sample code for javax.swing.event.MenuListener.menuSelected(javax.swing.event.MenuEvent) definition code for javax.swing.event.MenuListener.menuSelected(javax.swing.event.MenuEvent)

void menuSelected(MenuEvent sample code for javax.swing.event.MenuEvent definition code for javax.swing.event.MenuEvent  e)
Invoked when a menu is selected.

Parameters:
e - a MenuEvent object

menuDeselected sample code for javax.swing.event.MenuListener.menuDeselected(javax.swing.event.MenuEvent) definition code for javax.swing.event.MenuListener.menuDeselected(javax.swing.event.MenuEvent)

void menuDeselected(MenuEvent sample code for javax.swing.event.MenuEvent definition code for javax.swing.event.MenuEvent  e)
Invoked when the menu is deselected.

Parameters:
e - a MenuEvent object

menuCanceled sample code for javax.swing.event.MenuListener.menuCanceled(javax.swing.event.MenuEvent) definition code for javax.swing.event.MenuListener.menuCanceled(javax.swing.event.MenuEvent)

void menuCanceled(MenuEvent sample code for javax.swing.event.MenuEvent definition code for javax.swing.event.MenuEvent  e)
Invoked when the menu is canceled.

Parameters:
e - a MenuEvent object