|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.application.console.shell.help.HelpServer
Manages ConsoleOne's universal help system.
The HelpServer class manages the help system by 1) generating a master help set of all the *.hs files in the help directory 2) Managing on Help Broker to display the help content in a uniform manner
| Constructor Summary | |
HelpServer()
Construct a new HelpServer with a new frame and the ConsoleOne base path |
|
HelpServer(java.awt.Frame hostFrame,
java.lang.String basePath)
Construct a new HelpServer with the hostFrame and basePath parameters. |
|
| Method Summary | |
boolean |
helpExists(java.lang.String helpSetName,
java.lang.String helpID)
Checks to see if a JavaHelp help Set and ID exists |
void |
launchHelp(java.lang.String helpSetName,
java.lang.String helpID,
java.awt.Window window)
Launches the ConsoleOne help from a modal dialog and displays the content corresponding to the Help ID tag |
void |
launchHelp(java.lang.String helpSetName,
java.awt.Window window)
Launches the ConsoleOne help from a modal dialog and displays the content at the top of the helpset |
int |
launchMsgBox(java.lang.String title,
java.lang.String message,
int type,
java.lang.String helpSetName)
Displays a common message box with a help button. |
int |
launchMsgBox(java.lang.String title,
java.lang.String message,
int type,
java.lang.String helpSetName,
java.lang.String helpID)
Displays a common message box with a help button. |
void |
setActiveWindow(java.awt.Window window)
Sets the active parent window for the current help broker |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public HelpServer(java.awt.Frame hostFrame,
java.lang.String basePath)
hostFrame - The host frame.basePath - The base path for the help files.public HelpServer()
| Method Detail |
public int launchMsgBox(java.lang.String title,
java.lang.String message,
int type,
java.lang.String helpSetName,
java.lang.String helpID)
title - The title of the message box caption.message - The message to go in the body of the message box.type - The type of message box (see NMsgBox types).helpSetName - The helpSet namehelpID - The help ID tag for the content to be displayedNMsgBox
public int launchMsgBox(java.lang.String title,
java.lang.String message,
int type,
java.lang.String helpSetName)
title - The title of the message box caption.message - The message to go in the body of the message box.type - The type of message box (see NMsgBox types).helpSetName - The helpSet nameNMsgBoxpublic void setActiveWindow(java.awt.Window window)
window: - parent window object
public boolean helpExists(java.lang.String helpSetName,
java.lang.String helpID)
helpSetName: - A JavaHelp help set namehelpID: - A HelpSet ID tag
public void launchHelp(java.lang.String helpSetName,
java.awt.Window window)
helpSetName: - A JavaHelp help set file namewindow: - parent window object
public void launchHelp(java.lang.String helpSetName,
java.lang.String helpID,
java.awt.Window window)
helpSetName: - A JavaHelp help set file namehelpID: - A Help ID tagwindow: - parent window object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||