Uses of Class
javax.swing.MenuSelectionManager
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides for events fired by Swing components.
Provides user interface objects built according to the Basic look and feel.
-
Uses of MenuSelectionManager in javax.swing
Modifier and TypeMethodDescriptionstatic MenuSelectionManager
MenuSelectionManager.defaultManager()
Returns the default menu selection manager.Modifier and TypeMethodDescriptionvoid
JMenuBar.processKeyEvent
(KeyEvent e, MenuElement[] path, MenuSelectionManager manager) Implemented to be aMenuElement
-- does nothing.void
JMenuItem.processKeyEvent
(KeyEvent e, MenuElement[] path, MenuSelectionManager manager) Processes a key event forwarded from theMenuSelectionManager
and changes the menu selection, if necessary, by usingMenuSelectionManager
's API.void
JPopupMenu.processKeyEvent
(KeyEvent e, MenuElement[] path, MenuSelectionManager manager) Processes a key event forwarded from theMenuSelectionManager
and changes the menu selection, if necessary, by usingMenuSelectionManager
's API.void
MenuElement.processKeyEvent
(KeyEvent event, MenuElement[] path, MenuSelectionManager manager) Process a key event.void
JMenuBar.processMouseEvent
(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) Implemented to be aMenuElement
-- does nothing.void
JMenuItem.processMouseEvent
(MouseEvent e, MenuElement[] path, MenuSelectionManager manager) Processes a mouse event forwarded from theMenuSelectionManager
and changes the menu selection, if necessary, by using theMenuSelectionManager
's API.void
JPopupMenu.processMouseEvent
(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) This method is required to conform to theMenuElement
interface, but it not implemented.void
MenuElement.processMouseEvent
(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) Processes a mouse event. -
Uses of MenuSelectionManager in javax.swing.event
Modifier and TypeMethodDescriptionMenuDragMouseEvent.getMenuSelectionManager()
Returns the current menu selection manager.MenuKeyEvent.getMenuSelectionManager()
Returns the current menu selection manager.ModifierConstructorDescriptionMenuDragMouseEvent
(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
Modifier and TypeMethodDescriptionprotected void
BasicMenuItemUI.doClick
(MenuSelectionManager msm) Call this method when a menu item is to be activated.void
BasicCheckBoxMenuItemUI.processMouseEvent
(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager) Invoked when mouse event occurs.void
BasicRadioButtonMenuItemUI.processMouseEvent
(JMenuItem item, MouseEvent e, MenuElement[] path, MenuSelectionManager manager) Invoked when mouse event occurs.