infovis.tree.visualization.treemap
Class SliceAndDice
java.lang.Object
infovis.tree.visualization.treemap.Treemap
infovis.tree.visualization.treemap.SliceAndDice
- All Implemented Interfaces:
- Layout, Orientable, SwingConstants
public class SliceAndDice
- extends Treemap
- implements Orientable
Slice and Dice Algorithm.
- Version:
- $Revision: 1.17 $
- Author:
- Jean-Daniel Fekete
- InfoVis factory arguments:
- TreemapFactory Slice&Dice
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
instance
public static final SliceAndDice instance
- Instance.
SliceAndDice
public SliceAndDice()
getName
public String getName()
- Returns the name of the layout algorithm.
- Specified by:
getName
in interface Layout
- 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
getOrientation
public short getOrientation()
- Returns the orientation manages by this interface.
- Specified by:
getOrientation
in interface Orientable
- Returns:
- the orientation manages by this interface
setOrientation
public void setOrientation(short o)
- Sets the orientation of this interface.
- Specified by:
setOrientation
in interface Orientable
- Parameters:
o
- the orientation.
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.