- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public final class HelpAction
- extends AbstractAction
Display the help system for the application.
Display one of table of contents, index, or search tab, according
to argument passed to the constructor. This implementation uses
Sun's JavaHelp tool.
This action activates the Help key (often F1) for this application.
When the help key is pressed, the help system's table of contents is displayed.
This action is unusual in that it corresponds to more than one menu item
(Contents, Index, and Search).
Note: the displayed JavaHelp screen is not centered; it is left as is,
since the JavaHelp GUI is often cut off at the bottom anyway, and centering would
make this problem worse.
- See Also:
- Serialized Form
Nested Class Summary
Enumeration for the style of presentation of the the Help system.
public HelpAction(JFrame aFrame,
aFrame - parent window to which the help window is attached
aText - name of the menu item for this help action
aMnemonicKeyEvent - mnemonic for aText
aIcon - possibly-null graphic to be displayed alongside the text, or
in a toolbar
aView - determines which help window is to be displayed: Contents, Index,
public void actionPerformed(ActionEvent event)
Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53