All Packages Class Hierarchy This Package Previous Next Index
Class edu.wpi.mqp.graphics.jviz.HelpTopics
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----com.sun.java.swing.JDialog
|
+----edu.wpi.mqp.graphics.jviz.HelpTopics
- public class HelpTopics
- extends JDialog
This class implements a VERY basic help system. It uses a lot of the
documentation from XmdvTool. The output is not pretty, but it is functional
The documentation is stored in files that must be in the correct spot. The
class was admittedly not well designed in implemented quickly. Some extra
time spent with this class could implement a solid help system in the
next version.
- Version:
- 1.0
- Author:
- Matthew C. Jucius
-
doneButton
-
-
helpText
-
-
topicList
-
-
topicPanel
-
-
topics
-
-
HelpTopics(JFrame)
-
Constructor
-
changeTopic(String)
-
This method changes the text in the text area.
topicPanel
protected JPanel topicPanel
doneButton
protected JButton doneButton
topicList
protected JComboBox topicList
topics
protected String topics[]
helpText
protected JTextArea helpText
HelpTopics
public HelpTopics(JFrame parentFrame)
- Constructor
- Parameters:
- parentFrame - link to the parent frame so this dialog box can display
changeTopic
public void changeTopic(String newTopic)
- This method changes the text in the text area. It reads in a file
associated with the newTopic String and displays the text. It uses a
URL so we can package the files within a .jar file. Since we are using
URL's, it is concievable that we could have online help.
- Parameters:
- newTopic - the topic to display the text for.
All Packages Class Hierarchy This Package Previous Next Index