MenuItem.getShortcut

Overview | Methods | This Package | All Packages

MenuItem.getShortcut

Retrieves the shortcut key that is associated with this menu item.

Syntax

public int getShortcut()

Return Value

Returns the shortcut key. This value is one of the enumeration constants defined in the Shortcut class.

See Also   setShortcut