-
- All Superinterfaces:
-
EventListener
public interface PopupMenuListener extends EventListener
一个弹出菜单监听器
-
-
方法摘要
所有方法 实例方法 抽象方法 变量和类型 方法 描述 void
popupMenuCanceled(PopupMenuEvent e)
取消弹出菜单时会调用此方法void
popupMenuWillBecomeInvisible(PopupMenuEvent e)
在弹出菜单变为不可见之前调用此方法请注意,JPopupMenu可以随时变为不可见void
popupMenuWillBecomeVisible(PopupMenuEvent e)
在弹出菜单变为可见之前调用此方法
-
-
-
方法详细信息
-
popupMenuWillBecomeVisible
void popupMenuWillBecomeVisible(PopupMenuEvent e)
在弹出菜单变为可见之前调用此方法- 参数
-
e
- 包含事件源的PopupMenuEvent
-
popupMenuWillBecomeInvisible
void popupMenuWillBecomeInvisible(PopupMenuEvent e)
在弹出菜单变为不可见之前调用此方法请注意,JPopupMenu可以随时变为不可见- 参数
-
e
- 包含事件源的PopupMenuEvent
-
popupMenuCanceled
void popupMenuCanceled(PopupMenuEvent e)
取消弹出菜单时会调用此方法- 参数
-
e
- 包含事件来源的PopupMenuEvent
-
-