|
Treeviz 0.37 2010-10-17 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.tree.circlemap.Circle
ch.randelshofer.tree.circlemap.CirclemapNode
ch.randelshofer.tree.circlemap.CirclemapCompositeNode
public class CirclemapCompositeNode
The CirclemapNode class encapsulates a composite TreeNode whithin a
CirclemapTree.
| Field Summary |
|---|
| Fields inherited from class ch.randelshofer.tree.circlemap.Circle |
|---|
cx, cy, radius |
| Constructor Summary | |
|---|---|
CirclemapCompositeNode(CirclemapNode parent,
TreeNode node)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.util.List<CirclemapNode> |
children()
|
int |
getDescendantCount()
|
boolean |
isLeaf()
|
void |
layout(NodeInfo info,
ProgressObserver p)
Lays out the subtree starting at this data in a space-filling circular treemap. |
CirclemapNode |
newChildAdded(TreeNode c)
Call this method when a new child node has been added to the underlying TreeNode. |
void |
updateNodeLayout(NodeInfo info)
Updates the layout of this node only. |
| Methods inherited from class ch.randelshofer.tree.circlemap.CirclemapNode |
|---|
getDataNode, getDataNodePath, getParent, getWeightRadius, toString, updateParentLayouts |
| Methods inherited from class ch.randelshofer.tree.circlemap.Circle |
|---|
clone, contains, contains, contains, getCX, getCY, getIntersectionRadius, getRadius, intersects, intersects |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CirclemapCompositeNode(CirclemapNode parent,
TreeNode node)
| Method Detail |
|---|
public boolean isLeaf()
isLeaf in class CirclemapNodepublic java.util.List<CirclemapNode> children()
children in class CirclemapNode
public void layout(NodeInfo info,
ProgressObserver p)
CirclemapNode
layout in class CirclemapNodepublic void updateNodeLayout(NodeInfo info)
info - public int getDescendantCount()
getDescendantCount in class CirclemapNodepublic CirclemapNode newChildAdded(TreeNode c)
For performance reasons, this method will not update the layout of the circlemap.
c - the new child
|
Copyright 2007-2008 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||