public class HelpTOCLoader
extends java.lang.Object
Code for loading and constructing the table of contents (TOC).
Doesn't refresh when plugins are (un)loaded: you'll have to call
createTOC()
again yourself.
Don't keep HelpTOCLoader
instances between loads:
use it and forget it.
Modifier and Type | Class and Description |
---|---|
static class |
HelpTOCLoader.HelpNode
a TOC item: href and title.
|
Constructor and Description |
---|
HelpTOCLoader(java.util.Map<java.lang.String,javax.swing.tree.DefaultMutableTreeNode> nodes,
java.lang.String baseURL) |
Modifier and Type | Method and Description |
---|---|
javax.swing.tree.DefaultMutableTreeNode |
createTOC()
Load the table of contents.
|
public HelpTOCLoader(java.util.Map<java.lang.String,javax.swing.tree.DefaultMutableTreeNode> nodes, java.lang.String baseURL)
public javax.swing.tree.DefaultMutableTreeNode createTOC()
DefaultMutableTreeNode
.
User objects are HelpTOCLoader.HelpNode
instances.