A shortcut is a sequence of keys, written as it is read: "Mod+C",
"Shift+Mod+Z", "Delete", "Alt+ArrowLeft". The modifiers are Shift, Ctrl,
Cmd, Alt and Mod: the key of the commands, which is Ctrl on Windows and
Linux, and Cmd on a Mac.
This class only holds a list of shortcuts and finds the one a keyboard
event is. It is used by Component.addShortcut (the shortcuts of a view,
while the focus is in it) and by Application.addShortcut (those of the
whole application).
Keyboard shortcuts.
A shortcut is a sequence of keys, written as it is read: "Mod+C", "Shift+Mod+Z", "Delete", "Alt+ArrowLeft". The modifiers are Shift, Ctrl, Cmd, Alt and Mod: the key of the commands, which is Ctrl on Windows and Linux, and Cmd on a Mac.
This class only holds a list of shortcuts and finds the one a keyboard event is. It is used by Component.addShortcut (the shortcuts of a view, while the focus is in it) and by Application.addShortcut (those of the whole application).