edu.tum.cs.commons.treemap
Class FlatTreeMapRenderer
java.lang.Object
edu.tum.cs.commons.treemap.FlatTreeMapRenderer
- All Implemented Interfaces:
- ITreeMapRenderer
public class FlatTreeMapRenderer
- extends Object
- implements ITreeMapRenderer
A very simple tree map renderer just drawing "flat" rectangles.
- Version:
- $Rev: 26931 $
- Author:
- Benjamin Hummel, $Author: besenreu $
- Rating:
- GREEN Hash: B52F73980DF98FACCD4B858A5872C409
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatTreeMapRenderer
public FlatTreeMapRenderer()
renderTreeMap
public <T> void renderTreeMap(ITreeMapNode<T> node,
Graphics2D graphics)
- Renders the given tree into the graphics. The position is determined by
the rectangle of the topmost node of the tree given.
- Specified by:
renderTreeMap in interface ITreeMapRenderer
- Parameters:
node - 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 - 2.7