MenuItem.setShortcut

Overview | Methods | This Package | All Packages

MenuItem.setShortcut

Associates a shortcut key with this menu item.

Syntax

public void setShortcut( int value )

Parameters

value

The shortcut to associate with this menu item. This value must be one of the enumeration values defined in the Shortcut class.