Interface SliceAndDiceAlgorithm.OrientationStragegy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isVertical​(com.macrofocus.geom.Rectangle2D bounds, TreeMapNode parent)
      Tell whether the subdivisions of a node should be laid out vertically or horizontally.
    • Method Detail

      • isVertical

        boolean isVertical​(com.macrofocus.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 parent
        parent - the parent node
        Returns:
        true for vertical orientation, false otherwise