Package de.tum.cit.ase.editor.input
Class Shortcuts
java.lang.Object
de.tum.cit.ase.editor.input.Shortcuts
The Shortcuts class is responsible for loading and managing keyboard shortcuts.
It utilizes the Json library for serialization and the Preferences class for storing shortcut configurations.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The EDITOR class represents a collection of static shortcuts for editing actions.static final record
The Shortcut class represents a shortcut with one or more keys.static class
The UI class represents a collection of static shortcuts for various UI actions. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
Shortcuts
public Shortcuts()
-
-
Method Details
-
load
Loads and initializes shortcuts from the specified class.- Parameters:
initClass
- The class containing the shortcut fields.
-