Uses of Class
javax.swing.MenuSelectionManager
-
Packages that use MenuSelectionManager 软件包 描述 javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.event 提供Swing组件触发的事件。javax.swing.plaf.basic 提供根据“基本”外观构建的用户界面对象。 -
-
Uses of MenuSelectionManager in javax.swing
Methods in javax.swing that return MenuSelectionManager Modifier and Type 方法 描述 static MenuSelectionManager
MenuSelectionManager. defaultManager()
返回默认菜单选择管理器。Methods in javax.swing with parameters of type MenuSelectionManager Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 MenuSelectionManager
MenuDragMouseEvent. getMenuSelectionManager()
返回当前菜单选择管理器。MenuSelectionManager
MenuKeyEvent. getMenuSelectionManager()
返回当前菜单选择管理器。Constructors in javax.swing.event with parameters of type MenuSelectionManager Constructor 描述 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 Modifier and Type 方法 描述 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)
当鼠标事件发生时调用。
-