|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.tum.cs.commons.treemap.CushionTreeMapRenderer
public class CushionTreeMapRenderer
A tree map renderer using "cushions" as described in J. van Wijk, H. van de Wetering: "Cushion Treemaps: Visualization of Hierarchical Information".
| Constructor Summary | |
|---|---|
CushionTreeMapRenderer(double h,
double f)
Constructor. |
|
| Method Summary | ||
|---|---|---|
|
renderTreeMap(ITreeMapNode<T> node,
java.awt.Graphics2D graphics)
Renders the given tree into the graphics. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CushionTreeMapRenderer(double h,
double f)
h - the height parameter giving the heigt of the cushions relative
to their size. 0.5 seems to be a reasonable value.f - the scale factor used to reduce the heights of nested
cushions. The value should be between 0 and 1, where smaller
values will reduce the cushion effect.| Method Detail |
|---|
public <T> void renderTreeMap(ITreeMapNode<T> node,
java.awt.Graphics2D graphics)
renderTreeMap in interface ITreeMapRenderernode - the tree to render. The tree must have been layouted and the
outermost rectangle should be completely included in the
provided graphics.graphics - the graphics used for drawing.
|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||