public class HelpAction extends AbstractAction
changeSupport, enabled
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 and Description |
---|
HelpAction(String helpID,
Component parent)
Constructs a new help window for a given helpID.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt) |
static boolean |
helpIdExists(String helpID)
Tests whether a given helpID is available.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public HelpAction(String helpID, Component parent)
helpID
- help id stringparent
- parent window - may be used for positioningpublic void actionPerformed(ActionEvent evt)
public static boolean helpIdExists(String helpID)
helpID
- the help ID to testhelpID
is a known ID
in this application's HelpSetCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.