|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MenuShortcut | |
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 | |
MenuShortcut |
MenuItem.getShortcut()
Get the MenuShortcut object associated with this
menu item, |
Methods in java.awt with parameters of type MenuShortcut | |
void |
MenuItem.setShortcut(MenuShortcut s)
Set the MenuShortcut object associated with this
menu item. |
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 |
MenuBar.deleteShortcut(MenuShortcut s)
Deletes the specified menu shortcut. |
Constructors in java.awt with parameters of type MenuShortcut | |
MenuItem(String label,
MenuShortcut s)
Create a menu item with an associated keyboard shortcut. |
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.