public class ContextSensitiveHelpAction extends AbstractAction
| Modifier and Type | Field and Description |
|---|---|
private String |
helpTopic
the help topic
|
changeSupport, enabledACCELERATOR_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 |
|---|
ContextSensitiveHelpAction()
Creates a help topic for the root help topic
|
ContextSensitiveHelpAction(String helpTopic) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
setHelpTopic(String relativeHelpTopic)
Sets the help topic
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic ContextSensitiveHelpAction()
public ContextSensitiveHelpAction(String helpTopic)
helpTopic - public void setHelpTopic(String relativeHelpTopic)
relativeHelpTopic - the relative help topicpublic void actionPerformed(ActionEvent e)