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 PopupMenuListener

All Superinterfaces:
java.util.EventListener

public interface PopupMenuListener
extends java.util.EventListener

A popup menu listener


Method Summary
 void popupMenuCanceled(PopupMenuEvent e)
          This method is called when the popup menu is canceled
 void popupMenuWillBecomeInvisible(PopupMenuEvent e)
          This method is called before the popup menu becomes invisible Note that a JPopupMenu can become invisible any time
 void popupMenuWillBecomeVisible(PopupMenuEvent e)
          This method is called before the popup menu becomes visible
 

Method Detail

popupMenuWillBecomeVisible

public void popupMenuWillBecomeVisible(PopupMenuEvent e)
This method is called before the popup menu becomes visible


popupMenuWillBecomeInvisible

public void popupMenuWillBecomeInvisible(PopupMenuEvent e)
This method is called before the popup menu becomes invisible Note that a JPopupMenu can become invisible any time


popupMenuCanceled

public void popupMenuCanceled(PopupMenuEvent e)
This method is called when the popup menu is canceled


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.