Class JDialogBase.CancelAction

java.lang.Object
javax.swing.AbstractAction
gov.nih.mipav.view.dialogs.JDialogBase.CancelAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
JDialogBase

protected class JDialogBase.CancelAction extends AbstractAction
Handler for keys which should invoke the Cancel button (such as ESC). Should be registered by inheriting classes on their main JPanel using getInputMap().put() and getActionMap().put().
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
  • Constructor Details

    • CancelAction

      protected CancelAction()
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Key action event handler.
      Parameters:
      event - key action event