public class HelpAdapter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HELP_KEY
JComponent client property name for an associated tag into a JavaHelp help map.
|
Modifier and Type | Method and Description |
---|---|
static void |
registerWindowForHelpKeys(javax.swing.RootPaneContainer window)
Set up infrastructure for handling Help-related window hot-keys on the specified window.
|
static void |
setHelpTag(javax.swing.JComponent c,
java.lang.String tag)
Associate a JavaHelp tag with a GUI component so the F1 hot key will launch the appropriate help text.
|
public static final java.lang.String HELP_KEY
public static void registerWindowForHelpKeys(javax.swing.RootPaneContainer window)
window
- RootPaneContainer on which to enable hot-key helppublic static void setHelpTag(javax.swing.JComponent c, java.lang.String tag)
c
- JComponent to tagtag
- String name of help tag to associate