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
Nested ClassesModifier and TypeClassDescriptionstatic classThe EDITOR class represents a collection of static shortcuts for editing actions.static final recordThe Shortcut class represents a shortcut with one or more keys.static classThe UI class represents a collection of static shortcuts for various UI actions. -
Constructor Summary
Constructors -
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.
-