|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.essex.ia.helpview.HelpViewer
public class HelpViewer
This is the jHelp for the help system it make use of the JavaHelp API. The helpset is loaded of the classpath
You should have received a copy of GNU public license with this code.
If not please visit this site
Field Summary | |
---|---|
protected javax.swing.JFrame |
frame
|
static java.lang.String |
HELP_SET
|
Method Summary | |
---|---|
javax.swing.JFrame |
getGUI()
|
javax.help.HelpSet |
getHelpSet()
|
static HelpViewer |
getInstance()
|
void |
loadContentsAll()
Loads the main contents page |
void |
loadContentsHelp()
Loads the contents page of the help files |
void |
loadHelpID(java.lang.String helpID)
|
void |
loadJavadoc()
Load the javadoc |
void |
loadTutorial()
Load the tutorial |
static void |
main(java.lang.String[] args)
|
void |
setFile(java.lang.String fileName)
Set the file and display it |
void |
show()
Shows the frame |
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 HELP_SET
protected javax.swing.JFrame frame
Method Detail |
---|
public static HelpViewer getInstance()
public javax.help.HelpSet getHelpSet()
public javax.swing.JFrame getGUI()
public void show()
public void loadContentsAll()
public void loadContentsHelp()
public void loadTutorial()
public void loadJavadoc()
public void setFile(java.lang.String fileName) throws java.net.MalformedURLException, java.io.IOException
fileName
- - The file to load
java.net.MalformedURLException
- - If URL to load is bad
java.io.IOException
- - If file cannot be loadedpublic void loadHelpID(java.lang.String helpID)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |