Package gov.nih.mipav.view.dialogs
Class JDialogBase.HelpAction
java.lang.Object
javax.swing.AbstractAction
gov.nih.mipav.view.dialogs.JDialogBase.HelpAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Enclosing class:
JDialogBase
Handler for keys which should invoke the Help button (such as F1). Should be registered by inheriting classes on
their main JPanel using getInputMap().put() and getActionMap().put().
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longUse serialVersionUID for interoperability.Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) Key action event handler.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDUse serialVersionUID for interoperability.- See Also:
-
-
Constructor Details
-
HelpAction
protected HelpAction()
-
-
Method Details
-
actionPerformed
Key action event handler.- Parameters:
event- key action event
-