Package docking
Class DockingKeyBindingAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- docking.DockingKeyBindingAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Direct Known Subclasses:
MultipleKeyAction
public abstract class DockingKeyBindingAction extends javax.swing.AbstractAction
A class that can be used as an interface for using actions associated with keybindings. This class is meant to only by used by internal Ghidra key event processing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DockingKeyBindingAction(Tool tool, DockingActionIf action, javax.swing.KeyStroke keyStroke)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
abstract KeyBindingPrecedence
getKeyBindingPrecedence()
protected ActionContext
getLocalContext(ComponentProvider localProvider)
boolean
isEnabled()
boolean
isReservedKeybindingPrecedence()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
keyStroke
protected final javax.swing.KeyStroke keyStroke
-
tool
protected final Tool tool
-
-
Constructor Detail
-
DockingKeyBindingAction
public DockingKeyBindingAction(Tool tool, DockingActionIf action, javax.swing.KeyStroke keyStroke)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfacejavax.swing.Action
- Overrides:
isEnabled
in classjavax.swing.AbstractAction
-
getKeyBindingPrecedence
public abstract KeyBindingPrecedence getKeyBindingPrecedence()
-
isReservedKeybindingPrecedence
public boolean isReservedKeybindingPrecedence()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
getLocalContext
protected ActionContext getLocalContext(ComponentProvider localProvider)
-
-