Package docking

Enum Class KeyBindingPrecedence

All Implemented Interfaces:
Serializable, Comparable<KeyBindingPrecedence>, Constable

public enum KeyBindingPrecedence extends Enum<KeyBindingPrecedence>
An enum that holds the values for order of keybinding precedence, in order from highest priority to lowest. For a more detailed description of how Ghidra processes key events see KeyBindingOverrideKeyEventDispatcher.dispatchKeyEvent(KeyEvent).
  • Enum Constant Details

    • SystemActionsLevel

      public static final KeyBindingPrecedence SystemActionsLevel
      Actions at this level will be processed before all others, including Java components'.
    • KeyListenerLevel

      public static final KeyBindingPrecedence KeyListenerLevel
      Actions with this precedence will be processed before key listener on Java components.
    • ActionMapLevel

      public static final KeyBindingPrecedence ActionMapLevel
      Actions with this precedence will be processed before actions on Java components.
    • DefaultLevel

      public static final KeyBindingPrecedence DefaultLevel
      This level of precedence is the default level of precedence and gets processed after Java components' key listeners and actions.
  • Method Details

    • values

      public static KeyBindingPrecedence[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static KeyBindingPrecedence valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null