Uses of Class
javax.swing.MenuSelectionManager
| Package | Description |
|---|---|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.event |
Provides for events fired by Swing components.
|
| javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
-
Uses of MenuSelectionManager in javax.swing
Methods in javax.swing that return MenuSelectionManager Modifier and Type Method Description static MenuSelectionManagerMenuSelectionManager. defaultManager()Returns the default menu selection manager.Methods in javax.swing with parameters of type MenuSelectionManager Modifier and Type Method Description voidJMenuBar. processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)Implemented to be aMenuElement-- does nothing.voidJMenuItem. processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)Processes a key event forwarded from theMenuSelectionManagerand changes the menu selection, if necessary, by usingMenuSelectionManager's API.voidJPopupMenu. processKeyEvent(KeyEvent e, MenuElement[] path, MenuSelectionManager manager)Processes a key event forwarded from theMenuSelectionManagerand changes the menu selection, if necessary, by usingMenuSelectionManager's API.voidMenuElement. processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager)Process a key event.voidJMenuBar. processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)Implemented to be aMenuElement-- does nothing.voidJMenuItem. processMouseEvent(MouseEvent e, MenuElement[] path, MenuSelectionManager manager)Processes a mouse event forwarded from theMenuSelectionManagerand changes the menu selection, if necessary, by using theMenuSelectionManager's API.voidJPopupMenu. processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)This method is required to conform to theMenuElementinterface, but it not implemented.voidMenuElement. processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager)Processes a mouse event. -
Uses of MenuSelectionManager in javax.swing.event
Methods in javax.swing.event that return MenuSelectionManager Modifier and Type Method Description MenuSelectionManagerMenuDragMouseEvent. getMenuSelectionManager()Returns the current menu selection manager.MenuSelectionManagerMenuKeyEvent. getMenuSelectionManager()Returns the current menu selection manager.Constructors in javax.swing.event with parameters of type MenuSelectionManager Constructor Description MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m)Constructs a MenuDragMouseEvent object.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)Constructs a MenuDragMouseEvent object.MenuKeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, MenuElement[] p, MenuSelectionManager m)Constructs a MenuKeyEvent object. -
Uses of MenuSelectionManager in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type MenuSelectionManager Modifier and Type Method Description protected voidBasicMenuItemUI. doClick(MenuSelectionManager msm)Call this method when a menu item is to be activated.voidBasicCheckBoxMenuItemUI. processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)Invoked when mouse event occurs.voidBasicRadioButtonMenuItemUI. processMouseEvent(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager)Invoked when mouse event occurs.