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.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
Modifier and Type | Method | Description |
---|---|---|
MenuKeyListener[] |
JMenuItem.getMenuKeyListeners() |
Returns an array of all the
MenuKeyListener s added
to this JMenuItem with addMenuKeyListener(). |
MenuKeyListener[] |
JPopupMenu.getMenuKeyListeners() |
Returns an array of all the
MenuKeyListener s added
to this JPopupMenu with addMenuKeyListener(). |
Modifier and Type | Method | Description |
---|---|---|
void |
JMenuItem.addMenuKeyListener(MenuKeyListener l) |
Adds a
MenuKeyListener to the menu item. |
void |
JPopupMenu.addMenuKeyListener(MenuKeyListener l) |
Adds a
MenuKeyListener to the popup menu. |
void |
JMenuItem.removeMenuKeyListener(MenuKeyListener l) |
Removes a
MenuKeyListener from the menu item. |
void |
JPopupMenu.removeMenuKeyListener(MenuKeyListener l) |
Removes a
MenuKeyListener from the popup menu. |
Modifier and Type | Field | Description |
---|---|---|
protected MenuKeyListener |
BasicMenuItemUI.menuKeyListener |
The instance of
MenuKeyListener . |
Modifier and Type | Method | Description |
---|---|---|
protected MenuKeyListener |
BasicMenuItemUI.createMenuKeyListener(JComponent c) |
Returns an instance of
MenuKeyListener . |
protected MenuKeyListener |
BasicMenuUI.createMenuKeyListener(JComponent c) |
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps