|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.uifextras.help.HelpBroker
public final class HelpBroker
This singleton class provides access to a HelpViewer, which in turn uses a HelpSet.
Method Summary | |
---|---|
static HelpBroker |
getInstance()
Returns the single HelpBroker instance; lazily creates an instance. |
static boolean |
hasInstance()
Returns whether this broker has already created an instance. |
static void |
openDefault()
Shows the default help page in the HelpViewer. |
static void |
openURL(URL url)
Shows the help page at the given URL in the HelpViewer. |
static void |
setClassLoader(ClassLoader loader)
|
static void |
setHelpSetPath(URL path)
Sets the path to the HelpSet, which will be used during the lazy initialization process, see #createInstance(URL) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setHelpSetPath(URL path)
#createInstance(URL)
.
path
- the path to the HelpSet
IllegalArgumentException
- if the path is null
public static void setClassLoader(ClassLoader loader)
public static void openURL(URL url)
url
- the URL of the help page to openpublic static void openDefault()
public static boolean hasInstance()
public static HelpBroker getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |