public final class HelpAction extends AbstractAction
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's left as is, since the JavaHelp GUI is often cut off at the bottom anyway, and centering would make this problem worse.
|Modifier and Type||Class and Description|
Enumeration for the style of presentation of the the Help system.
|Constructor and Description|
|Modifier and Type||Method and Description|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public HelpAction(JFrame aFrame, String aText, int aMnemonicKeyEvent, Icon aIcon, HelpAction.View aView)
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, or Search
Copyright Hirondelle Systems - License - Generated 2013Sep20.10.58