Package docking

Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected javax.swing.KeyStroke keyStroke  
      protected DockingTool tool  
      • Fields inherited from class javax.swing.AbstractAction

        changeSupport, enabled
      • Fields 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
    • Field Detail

      • keyStroke

        protected final javax.swing.KeyStroke keyStroke
    • Constructor Detail

      • DockingKeyBindingAction

        public DockingKeyBindingAction​(DockingTool tool,
                                       DockingActionIf action,
                                       javax.swing.KeyStroke keyStroke)
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface javax.swing.Action
        Overrides:
        isEnabled in class javax.swing.AbstractAction
      • isReservedKeybindingPrecedence

        public boolean isReservedKeybindingPrecedence()
      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)