public class Help
extends java.lang.Object
/Inside the application, Help is accessed by ucar.unidata.ui.Help.getDefaultHelp().gotoTarget("top"); The actual target names must be valid names in the Map.xml file. I use "top" as the convention for the general Help page./HelpSet.hs
| Constructor and Description |
|---|
Help()
_more_
|
Help(java.lang.String helpSetName,
boolean makeBroker)
_more_
|
| Modifier and Type | Method and Description |
|---|---|
static Help |
getDefaultHelp()
_more_
|
javax.help.JHelp |
getJHelp()
_more_
|
boolean |
gotoTarget(java.util.List ids)
Go to the first target in the array that is valid.
|
void |
gotoTarget(java.lang.String id)
Go to the specified target in the
HelpSet. |
void |
gotoTarget(java.lang.String id,
boolean setVisible)
Go to the specified target in the
HelpSet. |
boolean |
isValidID(java.lang.String id)
Is the given help id valid
|
static void |
setTopDir(java.lang.String topDir)
_more_
|
public Help()
public Help(java.lang.String helpSetName,
boolean makeBroker)
helpSetName - _more_makeBroker - _more_public static Help getDefaultHelp()
public static void setTopDir(java.lang.String topDir)
topDir - public javax.help.JHelp getJHelp()
public boolean gotoTarget(java.util.List ids)
ids - Array of target help idspublic void gotoTarget(java.lang.String id)
HelpSet. If
the display window for the help is not visible, show it and
bring it to the front.id - target help idpublic boolean isValidID(java.lang.String id)
id - The help id to check for validitypublic void gotoTarget(java.lang.String id,
boolean setVisible)
HelpSet.id - target help idsetVisible - if true, create the help display window (if needed)
the display window for the help is not visible,
show it and bring it to the front.
and bring it to the front.