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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JMenuItem.fireMenuKeyPressed(MenuKeyEvent event)
Notifies all listeners that have registered interest for
notification on this event type.
|
protected void |
JMenuItem.fireMenuKeyReleased(MenuKeyEvent event)
Notifies all listeners that have registered interest for
notification on this event type.
|
protected void |
JMenuItem.fireMenuKeyTyped(MenuKeyEvent event)
Notifies all listeners that have registered interest for
notification on this event type.
|
void |
JMenuItem.processMenuKeyEvent(MenuKeyEvent e)
Handles a keystroke in a menu.
|
Modifier and Type | Method and Description |
---|---|
void |
MenuKeyListener.menuKeyPressed(MenuKeyEvent e)
Invoked when a key has been pressed.
|
void |
MenuKeyListener.menuKeyReleased(MenuKeyEvent e)
Invoked when a key has been released.
|
void |
MenuKeyListener.menuKeyTyped(MenuKeyEvent e)
Invoked when a key has been typed.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b138