javax.swing.event

接口
异常
所有超级接口:
EventListener

public interface PopupMenuListener
     
extends EventListener

弹出菜单侦听器


方法摘要
 void popupMenuCanceled(PopupMenuEvent e)
          此方法在弹出菜单被取消时调用。
 void popupMenuWillBecomeInvisible(PopupMenuEvent e)
          此方法在弹出菜单变得不可见之前调用。
 void popupMenuWillBecomeVisible(PopupMenuEvent e)
          此方法在弹出菜单变得可见之前调用
 

方法详细信息

popupMenuWillBecomeVisible

void popupMenuWillBecomeVisible(PopupMenuEvent e)
此方法在弹出菜单变得可见之前调用


popupMenuWillBecomeInvisible

void popupMenuWillBecomeInvisible(PopupMenuEvent e)
此方法在弹出菜单变得不可见之前调用。注意,JPopupMenu 可在任意时间变得不可见。


popupMenuCanceled

void popupMenuCanceled(PopupMenuEvent e)
此方法在弹出菜单被取消时调用。