All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class JObserve.GUI.HelpBox
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----JObserve.GUI.ObserveBox
                                           |
                                           +----JObserve.GUI.HelpBox
  -  public class HelpBox
  -  extends ObserveBox
Online help display for JObserve
 Uses modless dialog.
 This widget parses a text file looking for help information.
 A line starting with $topic$ contains a topic
 A line starting with $subtopic$  contains a subtopic
 Any other lines are help text for the previous subtopic or topic 
 if the topic has no subtopics.
   
  -   iceBrowser iceBrowser
-   The html browser
  
-   isActive isActive
-   Flag indicating if display is active
  
-   myBox myBox
-   The one true HelpBox
  
-   subtopicList subtopicList
-   AWT List to show subtopics
  
-   topicList topicList
-   AWT List to show main topics
   
  -   HelpBox(Frame, String, String, String, String) HelpBox(Frame, String, String, String, String)
-   Make Help Box.
   
  -   clearSelect() clearSelect()
-   Clear navigation selections
  
-   loadHelpFile(String) loadHelpFile(String)
-   Load HelpFile.
  
-   main(String[]) main(String[])
-  
 main program for testing
  
-   makeHelpBox(Frame, String, String, String, String) makeHelpBox(Frame, String, String, String, String)
-   Make Help Box, if it exists simple change display.
  
-   showHelp(String, String) showHelp(String, String)
-   Select Help information displayed
 If topic is different from current get new sub topics from file
 and ignore subtopic displaying the first found in the new topic.
   
 isActive
isActive
 public static boolean isActive
  -  Flag indicating if display is active
 
 myBox
myBox
 public static HelpBox myBox
  -  The one true HelpBox
 
 topicList
topicList
 public List topicList
  -  AWT List to show main topics
 
 subtopicList
subtopicList
 public List subtopicList
  -  AWT List to show subtopics
 
 iceBrowser
iceBrowser
 public Browser iceBrowser
  -  The html browser
 
   
 HelpBox
HelpBox
 public HelpBox(Frame parent,
                String file,
                String html,
                String topic,
                String subtopic)
  -  Make Help Box.
   
- 
    -  Parameters:
    
-  Frame- Frame on which to hang the dialog
-  String- file name for help file, null means none
-  String- html base directory
-  String- topic to display, null means none
-  String- subtopic to display, null means none
 
   
 makeHelpBox
makeHelpBox
 public static HelpBox makeHelpBox(Frame parent,
                                   String file,
                                   String html,
                                   String topic,
                                   String subtopic)
  -  Make Help Box, if it exists simple change display.
   
- 
    -  Parameters:
    
-  Frame- Frame on which to hang the dialog
-  String- file name for help file, null means none
-  String- html base directory
-  String- topic to display, null means none
-  String- subtopic to display, null means none
 
 clearSelect
clearSelect
 public void clearSelect()
  -  Clear navigation selections
 
 showHelp
showHelp
 public void showHelp(String topic,
                      String subtopic)
  -  Select Help information displayed
 If topic is different from current get new sub topics from file
 and ignore subtopic displaying the first found in the new topic.
 If the topic if the same display the new subtopic.
   
- 
    -  Parameters:
    
-  String- Topic, null if no topic.
-  String- Subtopic, null if no subtopic
 
 loadHelpFile
loadHelpFile
 public void loadHelpFile(String file)
  -  Load HelpFile.
 Extracts topics from the help file
 Topic lines start with a $topic$
 Selects first topic and subtopic.
   
- 
    -  Parameters:
    
-  String - name of file to display
 
 main
main
 public static void main(String args[])
  -  main program for testing
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index