Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.MenuShortcut

Availability: JDK 1.1

public class MenuShortcut extends Object implements Serializable {
   // Public Constructors
      public MenuShortcut(int key);
      public MenuShortcut(int key, boolean useShiftModifier);
   // Public Instance Methods
      public boolean equals(MenuShortcut s);
      public int getKey();
      public String toString();  // Overrides Object.toString()
      public boolean usesShiftModifier();
   // Protected Instance Methods
      protected String paramString();
}
Passed To:
MenuBar.deleteShortcut(), MenuBar.getShortcutMenuItem(), MenuItem.MenuItem(), MenuItem.setShortcut(), MenuShortcut.equals().
Returned By:
MenuItem.getShortcut().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.