Package docking
Class DockingKeyBindingAction
java.lang.Object
javax.swing.AbstractAction
docking.DockingKeyBindingAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
MultipleKeyAction,SystemKeyBindingAction
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:
-
Field Summary
FieldsChangeModifier and TypeFieldDescriptionprotected DockingActionIfprotected KeyStrokeprotected ToolFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsChangeConstructorDescriptionDockingKeyBindingAction(Tool tool, DockingActionIf action, KeyStroke keyStroke) -
Method Summary
ChangeModifier and TypeMethodDescriptionNEWabstract ExecutableActiongetExecutableAction(Component focusOwner) protected ActionContextgetLocalContext(ComponentProvider localProvider) booleanbooleanREMOVEDKeyBindingPrecedenceRemovedREMOVEDvoidactionPerformed(ActionEvent e) RemovedREMOVEDList<DockingActionIf>getValidActions(Object source) RemovedMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabledMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Field Details
-
tool
-
dockingAction
-
keyStroke
-
-
Constructor Details
-
DockingKeyBindingAction
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceAction- Overrides:
isEnabledin classAbstractAction
-
getExecutableAction NEW
-
isSystemKeybindingPrecedence
public boolean isSystemKeybindingPrecedence() -
getLocalContext
-
getActions
-