|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quadrique.jbuildingblocks.gui.OnlineHelp
public class OnlineHelp
This class helps you incorporate online help in your application. It uses the Java Help technology and helps you manipulate a help set file (see http://http://java.sun.com/products/javahelp/index.html)
| Constructor Summary | |
|---|---|
OnlineHelp()
constructor |
|
| Method Summary | |
|---|---|
void |
enableHelpKey(JRootPane zRootPane,
String zIdForHelpKey)
Call this method to display the online help window when the end user types on the "Help" key (e.g. |
ActionListener |
getContextSensitiveHelpActionListener()
getContextSensitiveHelpActionListener |
ActionListener |
getHelpActionListener()
getHelpActionListener |
static OnlineHelp |
getInstance()
This method returns an instance of the OnlineHelp class. |
void |
initialize(String zHelpSetFileName)
|
boolean |
isEnabled()
|
void |
setCshId(JComponent zComponent,
String zId)
to associate a context sensitive help id to a given component |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OnlineHelp()
| Method Detail |
|---|
public static final OnlineHelp getInstance()
public void initialize(String zHelpSetFileName)
throws Exception
zHelpSetFileName - the name of the help set file (e.g. "MyApplication.hs")
Exception - if an error occurspublic boolean isEnabled()
public void enableHelpKey(JRootPane zRootPane,
String zIdForHelpKey)
throws Exception
zRootPane - the main window/frame root panezIdForHelpKey - the index of the page to display in the help set
Exception - if an error occurspublic ActionListener getHelpActionListener()
public ActionListener getContextSensitiveHelpActionListener()
public void setCshId(JComponent zComponent,
String zId)
zComponent - the componentzId - the context sensitive help id to associate to the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||