Interface TreeMapNode<N extends TreeMapNode<N,​Column,​Color,​Font>,​Column,​Color,​Font>

    • Method Detail

      • getColor

        com.macrofocus.igraphics.CPColor<Color> getColor()
      • getSize

        double getSize()
        Corresponds to area in map.
        Returns:
        the area
      • getShape

        java.awt.Shape getShape()
        Gets the shape of the item in the map.
        Returns:
        the shape of the item in the map.
      • getNestedShape

        java.awt.Shape getNestedShape()
        Gets the shape after nesting of the item in the map.
        Returns:
        the shape of the item in the map.
      • getBounds

        java.awt.geom.Rectangle2D getBounds()
        Gets the bounding rectangle of the item in the map.
        Returns:
        the bounding rectangle of the item in the map.
      • getLevel

        int getLevel()
        Returns the number of levels above this node -- the distance from the root to this node. If this node is the root, returns 0.
        Returns:
        the number of levels above this node
      • getGroupByField

        TreeMapField<N,​Column> getGroupByField()
        Returns the number of levels above this node -- the distance from the root to this node. If this node is the root, returns 0.
        Returns:
        the number of levels above this node
      • getChildrenGroupByField

        TreeMapField<N,​Column> getChildrenGroupByField()
        Returns the number of levels above this node -- the distance from the root to this node. If this node is the root, returns 0.
        Returns:
        the number of levels above this node
      • hasNoChildren

        boolean hasNoChildren()
        Tells whether this node contains children.
        Returns:
        true if this node contains children, false otherwise
      • isLeaf

        boolean isLeaf()