JSR-209 (Final Release)

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 Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.