|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jtreemap.swing.TreeMapNodeBuilder
public class TreeMapNodeBuilder
Tree builder for a JTreeMap.
Constructor Summary | |
---|---|
TreeMapNodeBuilder()
|
Method Summary | |
---|---|
TreeMapNode |
buildBranch(java.lang.String label,
TreeMapNode parent)
Add a branch to the tree. |
TreeMapNode |
buildLeaf(java.lang.String label,
double weight,
Value value,
TreeMapNode parent)
add a leaf to the tree. |
TreeMapNode |
getRoot()
get the build tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeMapNodeBuilder()
Method Detail |
---|
public TreeMapNode buildBranch(java.lang.String label, TreeMapNode parent)
label
- label of the nodeparent
- father of the node
public TreeMapNode buildLeaf(java.lang.String label, double weight, Value value, TreeMapNode parent)
label
- label of the leafweight
- weight of the leafvalue
- Value of the leafparent
- father of the leaf
public TreeMapNode getRoot()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |