Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.awt.MenuShortcut

Packages that use MenuShortcut
Package Description
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of MenuShortcut in java.awt
 

Methods in java.awt that return MenuShortcut
Modifier and Type Method and Description
 MenuShortcut MenuItem.getShortcut()
          Get the MenuShortcut object associated with this menu item,
 

Methods in java.awt that return types with arguments of type MenuShortcut
Modifier and Type Method and Description
 Enumeration<MenuShortcut> MenuBar.shortcuts()
          Gets an enumeration of all menu shortcuts this menu bar is managing.
 

Methods in java.awt with parameters of type MenuShortcut
Modifier and Type Method and 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.
 

Constructors in java.awt with parameters of type MenuShortcut
Constructor and Description
MenuItem(String label, MenuShortcut s)
          Create a menu item with an associated keyboard shortcut.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.