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