|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
nz.org.venice.help.HelpPage
This package defines a single help page that can be viewed by the
HelpModule help browser. The help page is actually a node in a tree
so a help page can contain child pages - creating a hierarchichal document.
| Field Summary |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
HelpPage()
Create a new root help page. |
|
HelpPage(java.lang.String name)
Create a new help page with the given chapter name. |
|
| Method Summary | |
HelpPage |
findPageByName(java.lang.String name)
Search the document tree, starting with this node and return the first document that has the given name, or NULL if not found. |
HelpPage |
findPageWithLink(java.lang.String link)
Search the document tree, starting with this node and return the first document that has the given link. |
java.lang.String |
getLink()
Create the text that a HTML link would have if it pointed to us. |
java.lang.String |
getName()
Get the name of the chapter. |
java.lang.String |
getText()
Return the HTML text in this page. |
static HelpPage |
loadIndex()
Load the index of the help documentation. |
void |
setLink(java.lang.String link)
Create a page link to this helppage |
void |
setName(java.lang.String name)
Set the name of the page. |
| Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HelpPage(java.lang.String name)
name - the name of the chapterpublic HelpPage()
| Method Detail |
public void setName(java.lang.String name)
name - The name of the pagepublic java.lang.String getName()
public java.lang.String getLink()
public void setLink(java.lang.String link)
link - The name of the page linking to this pagepublic java.lang.String getText()
public HelpPage findPageWithLink(java.lang.String link)
link - the page link to search for
public HelpPage findPageByName(java.lang.String name)
name - The chapter name to search
public static HelpPage loadIndex()
|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||