| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static MenuSelectionManager |
MenuSelectionManager.defaultManager()
Returns the default menu selection manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MenuElement.processKeyEvent(KeyEvent
Process a key event.
|
void |
JPopupMenu.processKeyEvent(KeyEvent
Processes a key event forwarded from the
MenuSelectionManager and changes the menu selection, if necessary, by using
MenuSelectionManager's API.
|
void |
JMenuItem.processKeyEvent(KeyEvent
Processes a key event forwarded from the
MenuSelectionManager and changes the menu selection, if necessary, by using
MenuSelectionManager's API.
|
void |
JMenuBar.processKeyEvent(KeyEvent
Implemented to be a
MenuElement -- does nothing.
|
void |
MenuElement.processMouseEvent(MouseEvent
Processes a mouse event.
|
void |
JPopupMenu.processMouseEvent(MouseEvent
This method is required to conform to the
MenuElement interface, but it not implemented.
|
void |
JMenuItem.processMouseEvent(MouseEvent
Processes a mouse event forwarded from the
MenuSelectionManager and changes the menu selection, if necessary, by using the
MenuSelectionManager's API.
|
void |
JMenuBar.processMouseEvent(MouseEvent
Implemented to be a
MenuElement -- does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
MenuSelectionManager |
MenuKeyEvent.getMenuSelectionManager()
Returns the current menu selection manager.
|
MenuSelectionManager |
MenuDragMouseEvent.getMenuSelectionManager()
Returns the current menu selection manager.
|
| Constructor and Description | |
|---|---|
MenuDragMouseEvent(Component
Constructs a MenuDragMouseEvent object.
|
|
MenuDragMouseEvent(Component
Constructs a MenuDragMouseEvent object.
|
|
MenuKeyEvent(Component
Constructs a MenuKeyEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BasicMenuItemUI.doClick(MenuSelectionManager
Call this method when a menu item is to be activated.
|
void |
BasicCheckBoxMenuItemUI.processMouseEvent(JMenuItem
|
void |
BasicRadioButtonMenuItemUI.processMouseEvent(JMenuItem
|