edu.tum.cs.commons.treemap
Interface ITreeMapRenderer
- All Known Implementing Classes:
- CushionTreeMapRenderer, FlatTreeMapRenderer, NodeTextRenderer
public interface ITreeMapRenderer
Interface for code rendering treemaps into an image.
- Version:
- $Rev: 26931 $
- Author:
- Benjamin Hummel, $Author: besenreu $
- Rating:
- GREEN Hash: 064B2D19FD2FCB564B98ED02E74F12D7
renderTreeMap
<T> void renderTreeMap(ITreeMapNode<T> tree,
java.awt.Graphics2D graphics)
- Renders the given tree into the graphics. The position is determined by
the rectangle of the topmost node of the tree given.
- Parameters:
tree
- 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