|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jtreemap.swing.TreeMapNodeBuilder
public class TreeMapNodeBuilder
Tree builder for a JTreeMap.
Constructor Summary | |
---|---|
TreeMapNodeBuilder()
|
Method Summary | |
---|---|
TreeMapNode |
buildBranch(String label,
TreeMapNode parent)
Add a branch to the tree. |
TreeMapNode |
buildLeaf(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(String label, TreeMapNode parent)
label
- label of the nodeparent
- father of the node
public TreeMapNode buildLeaf(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 |