MenuItem.getShowShortcut

Overview | Methods | This Package | All Packages

MenuItem.getShowShortcut

Retrieves a boolean value that indicates whether the shortcut associated with this menu item should be displayed.

Syntax

public boolean getShowShortcut()

Return Value

Returns true if the shortcut will be displayed; otherwise, returns false. The default value is true.

See Also   setShowShortcut