TUM CCSM Commons

edu.tum.cs.commons.treemap
Interface ITreeMapLayoutAlgorithm

All Known Implementing Classes:
SimpleTreeMapAlgorithm, StripeTreeMapAlgorithm

public interface ITreeMapLayoutAlgorithm

Interface for tree map layout algorithms.

Version:
$Rev: 26931 $
Author:
Benjamin Hummel, $Author: besenreu $
Rating:
GREEN Hash: C54FF1C4247AFEB5CBBEE81A2848B9E2

Method Summary
<T> void
layout(ITreeMapNode<T> tree, java.awt.geom.Rectangle2D target)
          Modifies the given tree by adding layout information.
 

Method Detail

layout

<T> void layout(ITreeMapNode<T> tree,
                java.awt.geom.Rectangle2D target)
Modifies the given tree by adding layout information. The topmost rectangle will be the given target rectangle. All other nodes will be assigned rectangles which sum exactly to the the rectangle of they target node and have areas proportional to their size.


TUM CCSM Commons

TUM CCSM Commons - 2.7