站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.awt.MenuShortcut - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.MenuShortcut

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
 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.
 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.
 void MenuItem.setShortcut(MenuShortcut s)
          Set the MenuShortcut object associated with this menu item.
 

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


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.