|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
net.firstpartners.rp.back.struct.NodeStruct
public class NodeStruct
Node Structure class responsable to maintain the tuple values (keyworyd,value)
| Field Summary | |
|---|---|
(package private) java.util.LinkedList |
tuples
List of the tuples |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
|---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
|---|---|
NodeStruct()
Creates a new NodeStruct object. |
|
| Method Summary | |
|---|---|
void |
addChild(NodeStruct node)
Add a child to the node |
void |
addTuple(java.lang.String keyword,
java.lang.String value)
Add a new tuple to the node |
private void |
addTuple(TupleStruct tuple)
Add tuple to the node |
java.util.LinkedList |
getTuples()
Get the list of tuples |
| 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 |
| Field Detail |
|---|
java.util.LinkedList tuples
| Constructor Detail |
|---|
public NodeStruct()
| Method Detail |
|---|
public void addTuple(java.lang.String keyword,
java.lang.String value)
keyword - Tuple keywordvalue - Tuple valuepublic void addChild(NodeStruct node)
node - Child node to addprivate void addTuple(TupleStruct tuple)
tuple - Tuple to addpublic java.util.LinkedList getTuples()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||