-
- All Superinterfaces:
-
EventListener
public interface PopupMenuListener extends EventListener
弹出菜单侦听器
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 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
-
-