|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.peace_tools.generic.HelpHandler
public class HelpHandler
A simple class to handle display of help URLs. This class was introduced to centralize the generic process of displaying help information to the user. This class contains static methods that can be directly used to display help from peace-tools.org via the default browser.
Field Summary | |
---|---|
private static java.lang.String |
HELP_ERROR
This message is displayed when the default system browser could not be launched to display help. |
Constructor Summary | |
---|---|
private |
HelpHandler()
Private constructor to ensure this class is never instantiated. |
Method Summary | |
---|---|
static void |
showHelp(java.awt.Component parent,
java.lang.String url)
Displays a given URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String HELP_ERROR
Constructor Detail |
---|
private HelpHandler()
Method Detail |
---|
public static void showHelp(java.awt.Component parent, java.lang.String url)
parent
- The parent component that must be used to display
any error dialogs.url
- The complete web site URL that must be displayed in
the default system browser.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |