|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode org.mov.help.HelpPage
public class 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(java.lang.String name)
Create a new help page with the given chapter name. |
Method Summary | |
---|---|
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. |
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 chapterMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getLink()
public java.lang.String getText()
public HelpPage findPageWithLink(java.lang.String link)
link
- the page link to search for
public static HelpPage loadIndex()
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |