JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Packages that use MenuShortcut
Package
Description
java.awt
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Methods in java.awt with parameters of type MenuShortcut
Modifier and Type
Method
Description
void
MenuBar. deleteShortcut (MenuShortcut s)
Deletes the specified menu shortcut.
boolean
MenuShortcut. equals (MenuShortcut s)
Returns whether this MenuShortcut is the same as another:
equality is defined to mean that both MenuShortcuts use the same key
and both either use or don't use the SHIFT key.
MenuItem
MenuBar. getShortcutMenuItem (MenuShortcut s)
Gets the instance of MenuItem
associated
with the specified MenuShortcut
object,
or null
if none of the menu items being managed
by this menu bar is associated with the specified menu
shortcut.
void
MenuItem. setShortcut (MenuShortcut s)
Set the MenuShortcut
object associated with this
menu item.
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.