Package com.treemap

# Interface MutableTreeMapNode<N extends MutableTreeMapNode<N,Column,Color,Font>,Column,Color,Font>

Type Parameters:
  `N` - the type of nodes

All Superinterfaces:
  `TreeMapNode<N,Column,Color,Font>`

All Known Implementing Classes:
  `AbstractTreeMapNode`, `LeafTreeMapNode`, `ParentTreeMapNode`

public interface MutableTreeMapNode<N extends MutableTreeMapNode<N,Column,Color,Font>,Column,Color,Font> extends TreeMapNode<N,Column,Color,Font>
Defines the requirements for a TreeMapNode that can change.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setColor(com.macrofocus.igraphics.CPColor<Color> c)`
  Sets the color of the item in the map.
  `void`
  `setNestedShape(com.macrofocus.geom.Shape shape)`
  Sets the shape after nesting of the item in the map.
  `void`
  `setShape(com.macrofocus.geom.Shape shape)`
  Sets the shape of the item in the map.
  `void`
  `setSize(double size)`
  Sets the size of the item.
  `void`
  `setSumSize(double size)`

  ### Methods inherited from interface com.treemap.TreeMapNode

  `getBounds, getChildrenGroupByField, getColor, getGroupByField, getLevel, getNestedShape, getShape, getSize, getSumSize, hasNoChildren, isLeaf`

- ## Method Details

  - ### setSize

    void setSize(double size)
    Sets the size of the item.
    Parameters:
      `size` - the size of the item.

  - ### setSumSize

    void setSumSize(double size)

  - ### setColor

    void setColor(com.macrofocus.igraphics.CPColor<Color> c)
    Sets the color of the item in the map.
    Parameters:
      `c` - the color of the item in the map.

  - ### setShape

    void setShape(com.macrofocus.geom.Shape shape)
    Sets the shape of the item in the map.
    Parameters:
      `shape` - the shape of the item in the map.

  - ### setNestedShape

    void setNestedShape(com.macrofocus.geom.Shape shape)
    Sets the shape after nesting of the item in the map.
    Parameters:
      `shape` - the shape of the item in the map.