Package com.illumon.iris.console.utils
Class KeyboardShortcutUtil
java.lang.Object
com.illumon.iris.console.utils.KeyboardShortcutUtil
public class KeyboardShortcutUtil extends Object
A utility to adjust the keyboard shortcut mappings for certain UI elements. Intended to make DB/Weeps consoles more
Mac-friendly.
-
Constructor Summary
Constructors Constructor Description KeyboardShortcutUtil()
-
Method Summary
Modifier and Type Method Description static void
adjustHotKeysForMacs()
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.
-