|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.gui.util.HelpManager
public class HelpManager
A helper class providing the main helpset and helpbroker and some convenience functions for registering help keys in components.
Field Summary | |
---|---|
static java.lang.String |
XNAP_MANUAL
|
Method Summary | |
---|---|
static void |
add(javax.help.HelpSet hs)
Adds helpset to the main helpset hierarchy. |
static void |
enableContextHelpKey(javax.swing.JComponent jc)
Enables the context help key for a JComponent. |
static void |
enableHelpKeys(javax.swing.JComponent comp,
java.lang.String id,
javax.help.HelpSet hs)
Convenience method enabling the help keys and the context help key for a JComponent. |
static XNapHelpBroker |
getMainHelpBroker()
Returns the main helpbroker. |
static javax.help.HelpSet |
getMainHelpSet()
Returns the main helpset. |
static java.awt.event.ActionListener |
getTracker()
|
static javax.help.HelpSet |
loadHelpSet(java.lang.String helpset)
Helper method to load helpsets. |
static void |
remove(javax.help.HelpSet hs)
Removes helpset from the main helpset hierarchy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String XNAP_MANUAL
Method Detail |
---|
public static javax.help.HelpSet getMainHelpSet()
public static XNapHelpBroker getMainHelpBroker()
public static void add(javax.help.HelpSet hs)
public static void remove(javax.help.HelpSet hs)
public static javax.help.HelpSet loadHelpSet(java.lang.String helpset)
helpset
- name of the helpset file without the ending, e.g.
"xnap-manual" from "xnap-manual.hs".public static void enableHelpKeys(javax.swing.JComponent comp, java.lang.String id, javax.help.HelpSet hs)
public static void enableContextHelpKey(javax.swing.JComponent jc)
public static java.awt.event.ActionListener getTracker()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |