Keyboard Shortcut
An abstract keyboard shortcut used to perform some action in Anvil.
NOTE Keyboard shortcuts must adhere to the following implementation rules:
All non-abstract subclass implementations must be a child type of a sealed class that corresponds to a KeyboardShortcutCategory.
All non-abstract subclass implementations must be an object.
All abstract subclass implementations must be a sealed class that corresponds to a single KeyboardShortcutCategory.
Author
Richard Arriaga
Inheritors
Properties
The key that identifies this BaseKeyboardShortcut.
The KeyboardShortcutCategory this shortcut belongs to.
This KeyboardShortcut is permitted to customized for an environment.
The default Key when pressed triggers this shortcut.
The description of the action the shortcut performs.
The description that is displayed that describes the shortcut or the actionMapKey if the description is empty.
The key of this BaseKeyboardShortcut.
The KeyStroke used to trigger this KeyboardShortcut.
A corresponding KeyboardShortcutOverride sourced from this KeyboardShortcut.
Functions
Add this KeyboardShortcut to the provided InputMap.
Check to see if the provided BaseKeyboardShortcut matches the key bindings of this BaseKeyboardShortcut while having different actionMapKeys.
Reset the key to the defaultKey.
Update this KeyboardShortcut to match the ModifierKeys and KeyCode used in the provided KeyStroke.