Package com.macrofocus.treemap
Class SliceAndDiceAlgorithm.HoritzonalOrientationStrategy
- java.lang.Object
-
- com.macrofocus.treemap.SliceAndDiceAlgorithm.HoritzonalOrientationStrategy
-
- All Implemented Interfaces:
SliceAndDiceAlgorithm.OrientationStragegy
- Enclosing class:
- SliceAndDiceAlgorithm
public static class SliceAndDiceAlgorithm.HoritzonalOrientationStrategy extends java.lang.Object implements SliceAndDiceAlgorithm.OrientationStragegy
Always horizontal
-
-
Constructor Summary
Constructors Constructor Description HoritzonalOrientationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisVertical(java.awt.geom.Rectangle2D bounds, TreeMapNode parent)Tell whether the subdivisions of a node should be laid out vertically or horizontally.
-
-
-
Method Detail
-
isVertical
public boolean isVertical(java.awt.geom.Rectangle2D bounds, TreeMapNode parent)Description copied from interface:SliceAndDiceAlgorithm.OrientationStragegyTell whether the subdivisions of a node should be laid out vertically or horizontally.- Specified by:
isVerticalin interfaceSliceAndDiceAlgorithm.OrientationStragegy- Parameters:
bounds- the bounding rectangle of the parentparent- the parent node- Returns:
- true for vertical orientation, false otherwise
-
-