|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.ui.Help
public class Help
Convenience routines for accessing JavaHelp. These are static routines, so that they can be accessed from deeeply nested methods without having to pass the HekpSet object all over the place. The assumption is that there is only one helpset per application. The application should call setTopDir() to set the root directory, before any other calls are made into the help system. The helpset is then found at:
/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 Summary | |
|---|---|
Help()
_more_ |
|
Help(String helpSetName,
boolean makeBroker)
_more_ |
|
| Method Summary | |
|---|---|
static Help |
getDefaultHelp()
_more_ |
javax.help.JHelp |
getJHelp()
_more_ |
boolean |
gotoTarget(List ids)
Go to the first target in the array that is valid. |
void |
gotoTarget(String id)
Go to the specified target in the HelpSet. |
void |
gotoTarget(String id,
boolean setVisible)
Go to the specified target in the HelpSet. |
boolean |
isValidID(String id)
Is the given help id valid |
static void |
setTopDir(String topDir)
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Help()
public Help(String helpSetName,
boolean makeBroker)
helpSetName - _more_makeBroker - _more_| Method Detail |
|---|
public static Help getDefaultHelp()
public static void setTopDir(String topDir)
topDir - public javax.help.JHelp getJHelp()
public boolean gotoTarget(List ids)
ids - Array of target help ids
public void gotoTarget(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(String id)
id - The help id to check for validity
public void gotoTarget(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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||