Package com.macrofocus.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
,MyMutableTreeMapNode
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setColor(com.macrofocus.igraphics.CPColor<Color> c)
Sets the color of the item in the map.void
setNestedShape(java.awt.Shape shape)
Sets the shape after nesting of the item in the map.void
setShape(java.awt.Shape shape)
Sets the shape of the item in the map.void
setSize(double size)
Sets the size of the item.-
Methods inherited from interface com.macrofocus.treemap.TreeMapNode
getBounds, getChildrenGroupByField, getColor, getGroupByField, getLevel, getNestedShape, getShape, getSize, hasNoChildren, isLeaf
-
-
-
-
Method Detail
-
setSize
void setSize(double size)
Sets the size of the item.- Parameters:
size
- the size of the item.
-
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(java.awt.Shape shape)
Sets the shape of the item in the map.- Parameters:
shape
- the shape of the item in the map.
-
setNestedShape
void setNestedShape(java.awt.Shape shape)
Sets the shape after nesting of the item in the map.- Parameters:
shape
- the shape of the item in the map.
-
-