Package docking
Enum Class KeyBindingPrecedence
- All Implemented Interfaces:
Serializable
,Comparable<KeyBindingPrecedence>
,Constable
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)
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionActions with this precedence will be processed before actions on Java components.This level of precedence is the default level of precedence and gets processed after Java components' key listeners and actions.Actions with this precedence will be processed before key listener on Java components.Actions at this level will be processed before all others, including Java components'. -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyBindingPrecedence
Returns the enum constant of this class with the specified name.static KeyBindingPrecedence[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SystemActionsLevel
Actions at this level will be processed before all others, including Java components'. -
KeyListenerLevel
Actions with this precedence will be processed before key listener on Java components. -
ActionMapLevel
Actions with this precedence will be processed before actions on Java components. -
DefaultLevel
This level of precedence is the default level of precedence and gets processed after Java components' key listeners and actions.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-