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 Details

  • Method Details

    • adjustHotKeysForMacs

      public static void adjustHotKeysForMacs()
      Add keyboard shortcuts that take the command key, if running on a Mac. This entails updating the focusInputMap property in the UIManager for TextPanes, TextFields, and TextAreas.