public class HelpAction extends javax.swing.AbstractAction implements ActionDisplayOptions
DISPLAY_BOTH, DISPLAY_ICON, DISPLAY_NAME
Constructor and Description |
---|
HelpAction(ToolSelectionHandler selhandler) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs.
|
void |
showHelp(Tool tool)
Attempt to display the helpfile for the tool in either the default browser or the internal page viewer.
|
public HelpAction(ToolSelectionHandler selhandler)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void showHelp(Tool tool)
GUIEnv.openURL(java.lang.String url)