Uses of Class
javax.swing.MenuSelectionManager
-
Packages that use MenuSelectionManager 软件包 描述 javax.swing 提供一组“轻量级”(全Java语言)组件,这些组件在所有平台上尽可能地工作。javax.swing.event 提供由Swing组件触发的事件。javax.swing.plaf.basic 提供根据Basic外观构建的用户界面对象。 -
-
Uses of MenuSelectionManager in javax.swing
Methods in javax.swing that return MenuSelectionManager 变量和类型 方法 描述 static MenuSelectionManager
MenuSelectionManager. defaultManager()
返回默认菜单选择管理器。Methods in javax.swing with parameters of type MenuSelectionManager 变量和类型 方法 描述 void
JMenuBar. processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)
实施为MenuElement
- 什么都不做。void
JMenuItem. processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)
处理从MenuSelectionManager
转发的键事件,并根据需要使用MenuSelectionManager
的API更改菜单选择。void
JPopupMenu. processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)
处理从MenuSelectionManager
转发的键事件,并根据需要使用MenuSelectionManager
的API更改菜单选项。void
MenuElement. processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager)
处理重要事件。void
JMenuBar. processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
实施为MenuElement
- 什么都不做。void
JMenuItem. processMouseEvent(MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
处理从MenuSelectionManager
转发的鼠标事件,并根据需要使用MenuSelectionManager
的API更改菜单选项。void
JPopupMenu. processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
此方法需要符合MenuElement
接口,但未实现。void
MenuElement. processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)
处理鼠标事件。 -
Uses of MenuSelectionManager in javax.swing.event
Methods in javax.swing.event that return MenuSelectionManager 变量和类型 方法 描述 MenuSelectionManager
MenuDragMouseEvent. getMenuSelectionManager()
返回当前菜单选择管理器。MenuSelectionManager
MenuKeyEvent. getMenuSelectionManager()
返回当前菜单选择管理器。Constructors in javax.swing.event with parameters of type MenuSelectionManager 构造器 描述 MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m)
构造一个MenuDragMouseEvent对象。MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m)
构造一个MenuDragMouseEvent对象。MenuKeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, MenuElement[] p, MenuSelectionManager m)
构造一个MenuKeyEvent对象。 -
Uses of MenuSelectionManager in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type MenuSelectionManager 变量和类型 方法 描述 protected void
BasicMenuItemUI. doClick(MenuSelectionManager msm)
要激活菜单项时调用此方法。void
BasicCheckBoxMenuItemUI. processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
发生鼠标事件时调用。void
BasicRadioButtonMenuItemUI. processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)
发生鼠标事件时调用。
-