public class ContextSensitiveHelpAction extends javax.swing.AbstractAction
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
helpTopic |
Constructor and Description |
---|
ContextSensitiveHelpAction()
Constructs a new
ContextSensitiveHelpAction for the root help topic. |
ContextSensitiveHelpAction(java.lang.String helpTopic)
Constructs a new
ContextSensitiveHelpAction for a given help topic. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
setHelpTopic(java.lang.String relativeHelpTopic)
Sets the help topic.
|
private java.lang.String helpTopic
public ContextSensitiveHelpAction()
ContextSensitiveHelpAction
for the root help topic.public ContextSensitiveHelpAction(java.lang.String helpTopic)
ContextSensitiveHelpAction
for a given help topic.helpTopic
- The help topicpublic void setHelpTopic(java.lang.String relativeHelpTopic)
relativeHelpTopic
- the relative help topicpublic void actionPerformed(java.awt.event.ActionEvent e)