MenuShortcut.MenuShortcut
Class Overview | Class Members |
This Package |
All Packages
public MenuShortcut( int key )
Parameters
- key
- the raw keycode for this MenuShortcut, as would be returned
in the keyCode field of a KeyEvent if this key were pressed.
Description
Constructs a new MenuShortcut for the specified key.
public MenuShortcut( int key,
boolean useShiftModifier )
Parameters
- key
- the raw keycode for this MenuShortcut, as would be returned
in the keyCode field of a KeyEvent if this key were pressed.
- useShiftModifier
- indicates whether this MenuShortcut is invoked
with the SHIFT key down.
Description
Constructs a new MenuShortcut for the specified key.