|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPamView.PamHelp
public class PamHelp
| Nested Class Summary | |
|---|---|
(package private) class |
PamHelp.MyHelpModelListener
|
| Field Summary | |
|---|---|
private javax.swing.JButton |
backButton
|
private javax.swing.JPanel |
buttonBar
|
private java.util.ArrayList<java.awt.Component> |
componentList
|
private java.lang.String |
currentID
|
private java.lang.String |
defaultId
|
private java.lang.String |
defaultMixedId
|
private java.lang.String |
defaultViewerId
|
private javax.help.DefaultHelpBroker |
defHb
|
private javax.swing.JButton |
forwardButton
|
private javax.swing.JTabbedPane |
help_pane
Holder for toc, index and search tabs |
private javax.swing.JFrame |
helpFrame
Main frame |
private javax.help.HelpSet |
hs
|
private int |
idIndex
|
private javax.swing.JPanel |
index
|
private javax.help.JHelpIndexNavigator |
navIndex
|
private javax.help.JHelpSearchNavigator |
navSearch
|
private javax.help.JHelpTOCNavigator |
navTOC
|
private java.util.ArrayList<java.lang.String> |
pageHistory
|
private boolean |
registerIdChange
|
private javax.swing.JPanel |
search
|
private static PamHelp |
singleInstance
|
private javax.swing.JSplitPane |
splitPane
Holds main content pane on right and tabbed pane (help_pane) on left. |
private javax.swing.JPanel |
toc
|
private javax.help.plaf.basic.BasicTOCNavigatorUI |
tocNav
|
private javax.help.JHelpContentViewer |
viewer
|
| Constructor Summary | |
|---|---|
private |
PamHelp()
|
| Method Summary | |
|---|---|
private boolean |
addHelpSet(java.lang.String helpsetName)
Add a module helpset to the master help |
private void |
buildMasterHelpset()
Called from constructor to create the panels for the help frame. |
private void |
checkButtonStates()
|
void |
createFrameAndWindows()
Adds the right components to the main frame. |
void |
createHelpSet()
Create the master HelpSet object from the help/PAMGUARD.hs file. |
void |
displayContextSensitiveHelp(java.lang.String helpTarget)
|
void |
displayHelp()
|
private java.lang.String |
getDefaultId()
|
static PamHelp |
getInstance()
|
private boolean |
linkHelpToWindows()
|
private boolean |
setCurrentID(java.lang.String id)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.ArrayList<java.awt.Component> componentList
private javax.help.HelpSet hs
private javax.help.JHelpContentViewer viewer
private javax.help.JHelpSearchNavigator navSearch
private javax.help.JHelpTOCNavigator navTOC
private javax.help.JHelpIndexNavigator navIndex
private java.lang.String currentID
private javax.swing.JButton backButton
private javax.swing.JButton forwardButton
private javax.help.DefaultHelpBroker defHb
private javax.help.plaf.basic.BasicTOCNavigatorUI tocNav
private int idIndex
private java.util.ArrayList<java.lang.String> pageHistory
private boolean registerIdChange
private javax.swing.JSplitPane splitPane
private javax.swing.JTabbedPane help_pane
private javax.swing.JFrame helpFrame
private javax.swing.JPanel search
private javax.swing.JPanel index
private javax.swing.JPanel toc
private javax.swing.JPanel buttonBar
private final java.lang.String defaultId
private final java.lang.String defaultViewerId
private final java.lang.String defaultMixedId
private static PamHelp singleInstance
| Constructor Detail |
|---|
private PamHelp()
| Method Detail |
|---|
private java.lang.String getDefaultId()
private void checkButtonStates()
private void buildMasterHelpset()
public void createFrameAndWindows()
public void displayHelp()
public void displayContextSensitiveHelp(java.lang.String helpTarget)
public static PamHelp getInstance()
public void createHelpSet()
Then optionally merge in helpsets from other modules (since Feb 2009, this is little used with most help sets being combined into a single hs so that indexing and searching work and so that a more sensible layout of modules within the TOC can be acheived.
private boolean addHelpSet(java.lang.String helpsetName)
helpsetName -
private boolean linkHelpToWindows()
private boolean setCurrentID(java.lang.String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||