Class JDialogBase.OKAction

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

protected class JDialogBase.OKAction extends AbstractAction
Handler for keys which should invoke the OK button (such as ENTER). 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

    • OKAction

      protected OKAction()
  • Method Details

    • actionPerformed

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