Package com.macrofocus.treemap
Interface SliceAndDiceAlgorithm.OrientationStragegy
-
- All Known Implementing Classes:
SliceAndDiceAlgorithm.AlternateOrientationStrategy
,SliceAndDiceAlgorithm.BestOrientationStrategy
,SliceAndDiceAlgorithm.HoritzonalOrientationStrategy
,SliceAndDiceAlgorithm.VerticalOrientationStrategy
- Enclosing class:
- SliceAndDiceAlgorithm
public static interface SliceAndDiceAlgorithm.OrientationStragegy
Types of orientation of the rectangle divisions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isVertical(java.awt.geom.Rectangle2D bounds, TreeMapNode parent)
Tell whether the subdivisions of a node should be laid out vertically or horizontally.
-
-
-
Method Detail
-
isVertical
boolean isVertical(java.awt.geom.Rectangle2D bounds, TreeMapNode parent)
Tell whether the subdivisions of a node should be laid out vertically or horizontally.- Parameters:
bounds
- the bounding rectangle of the parentparent
- the parent node- Returns:
- true for vertical orientation, false otherwise
-
-