Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

javax.swing.event
Interface MenuListener

All Superinterfaces:
java.util.EventListener

public interface MenuListener
extends java.util.EventListener

Defines a listener for menu events.


Method Summary
 void menuCanceled(MenuEvent e)
          Invoked when the menu is canceled.
 void menuDeselected(MenuEvent e)
          Invoked when the menu is deselected.
 void menuSelected(MenuEvent e)
          Invoked when a menu is selected.
 

Method Detail

menuSelected

public void menuSelected(MenuEvent e)
Invoked when a menu is selected.

Parameters:
e - a MenuEvent object

menuDeselected

public void menuDeselected(MenuEvent e)
Invoked when the menu is deselected.

Parameters:
e - a MenuEvent object

menuCanceled

public void menuCanceled(MenuEvent e)
Invoked when the menu is canceled.

Parameters:
e - a MenuEvent object

JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.