infovis.tree.visualization.treemap
Class Squarified

java.lang.Object
  extended by infovis.tree.visualization.treemap.Treemap
      extended by infovis.tree.visualization.treemap.Squarified
All Implemented Interfaces:
Layout
Direct Known Subclasses:
Strip

public class Squarified
extends Treemap

Squarified Treemap Algorithm.

Version:
$Revision: 1.24 $
Author:
Jean-Daniel Fekete
InfoVis factory arguments:
TreemapFactory Squarified

Field Summary
static Squarified instance
          Instance.
 
Constructor Summary
Squarified()
           
 
Method Summary
 void computeShapes(Rectangle2D bounds, TreemapVisualization vis)
          Computes the shapes of the treemap.
 String getName()
          Returns the name of the layout algorithm.
 
Methods inherited from class infovis.tree.visualization.treemap.Treemap
beginBox, borderShape, computeShapes, finish, getPreferredSize, invalidate, removeBorder, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final Squarified instance
Instance.

Constructor Detail

Squarified

public Squarified()
Method Detail

getName

public String getName()
Returns the name of the layout algorithm.

Returns:
the name of the layout algorithm

computeShapes

public void computeShapes(Rectangle2D bounds,
                          TreemapVisualization vis)
Computes the shapes of the treemap.

Specified by:
computeShapes in class Treemap
Parameters:
bounds - the external bounds of the treemap.
vis - the TreemapVisualization


Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.