Class NavigationNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.apache.myfaces.tobago.example.demo.NavigationNode
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<NavigationNode>,MutableTreeNode,TreeNode
public class NavigationNode extends DefaultMutableTreeNode implements Comparable<NavigationNode>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Constructor Summary
Constructors Constructor Description NavigationNode(String path, NavigationTree tree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaction()intcompareTo(NavigationNode other)voidevaluateTreePath()StringgetBranch()StringgetName()NavigationNodegetNextNode()StringgetOutcome()NavigationNodegetPreviousNode()StringgetTitle()org.apache.myfaces.tobago.model.TreePathgetTreePath()StringtoString()-
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, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
-
-
-
-
Constructor Detail
-
NavigationNode
public NavigationNode(String path, NavigationTree tree)
-
-
Method Detail
-
compareTo
public int compareTo(NavigationNode other)
- Specified by:
compareToin interfaceComparable<NavigationNode>
-
action
public String action()
-
evaluateTreePath
public void evaluateTreePath()
-
getNextNode
public NavigationNode getNextNode()
- Overrides:
getNextNodein classDefaultMutableTreeNode
-
getPreviousNode
public NavigationNode getPreviousNode()
- Overrides:
getPreviousNodein classDefaultMutableTreeNode
-
getName
public String getName()
-
getBranch
public String getBranch()
-
getTitle
public String getTitle()
-
getOutcome
public String getOutcome()
-
getTreePath
public org.apache.myfaces.tobago.model.TreePath getTreePath()
-
toString
public String toString()
- Overrides:
toStringin classDefaultMutableTreeNode
-
-