Package org.omegat.gui.shortcuts
Class PropertiesShortcuts
java.lang.Object
org.omegat.gui.shortcuts.PropertiesShortcuts
The
PropertiesShortcuts class represents a persistent set of shortcut.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbindKeyStrokes(InputMap inputMap, String... keys) voidbindKeyStrokes(JMenuBar menu) voidbindKeyStrokes(JMenuItem item) static PropertiesShortcutsgetKeyStroke(String key) static PropertiesShortcutsbooleanisEmpty()voidloadFromClasspath(String propertiesFile) voidloadFromFile(File file)
-
Constructor Details
-
PropertiesShortcuts
public PropertiesShortcuts()
-
-
Method Details
-
getMainMenuShortcuts
-
getEditorShortcuts
-
loadFromClasspath
- Throws:
IOException
-
loadFromFile
- Throws:
IOException
-
getKeyStroke
-
bindKeyStrokes
-
bindKeyStrokes
-
bindKeyStrokes
-
isEmpty
public boolean isEmpty()
-