Share via


Class Overview | Class Members | This Package | All Packages

Syntax

public void setShortcut( MenuShortcut s )

Parameters
  • s
    the menu shortcut to associate with this menu item.
Description

Set the MenuShortcut object associated with this menu item. If a menu shortcut is already associated with this menu item, it is replaced.

See Also

getShortcut