JavaTM 2 Platform
Standard Ed. 6

javax.swing.event
接口 PopupMenuListener

所有超级接口:
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)
此方法在弹出菜单被取消时调用。


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only