Package com.illumon.iris.console.utils
Class KeyboardShortcutUtil
java.lang.Object
com.illumon.iris.console.utils.KeyboardShortcutUtil
A utility to adjust the keyboard shortcut mappings for certain UI elements. Intended to make DB/Weeps consoles more
Mac-friendly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Add keyboard shortcuts that take the command key, if running on a Mac.
-
Constructor Details
-
KeyboardShortcutUtil
public KeyboardShortcutUtil()
-
-
Method Details
-
adjustHotKeysForMacs
public static void adjustHotKeysForMacs()Add keyboard shortcuts that take the command key, if running on a Mac. This entails updating thefocusInputMap
property in theUIManager
for TextPanes, TextFields, and TextAreas.
-