T
- the type the user data has.public interface ITreeMapNode<T>
Modifier and Type | Method and Description |
---|---|
double |
getArea()
Returns the area of this node including all subnodes.
|
java.util.List<ITreeMapNode<T>> |
getChildren()
Returns the list of children of this node.
|
java.awt.Color |
getColor()
Returns the base color used for drawing this node.
|
IDrawingPattern |
getDrawingPattern()
Returns the pattern used for drawing the node (may be
null to
use no pattern). |
java.awt.geom.Rectangle2D |
getLayoutRectangle()
Returns the rectangle this node was layouted into.
|
java.awt.Color |
getPatternColor()
Returns the color used for drawing the pattern (if any) of this node.
|
java.lang.String |
getText()
Returns the text of the tree map node
|
java.lang.String |
getTooltipId()
Get displayable name of the node.
|
java.util.List<java.lang.String> |
getTooltipKeys()
Returns keys for structured displayable data.
|
java.lang.Object |
getTooltipValue(java.lang.String key)
Returns the value to be displayed for a single key.
|
double |
recalculateAreaAggregates()
Re-calculates the aggregated area for this node and for all of its children.
|
void |
setLayoutRectangle(java.awt.geom.Rectangle2D rect)
Sets the rectangle this node should be layouted into.
|
java.lang.String getText()
java.util.List<ITreeMapNode<T>> getChildren()
double getArea()
java.awt.Color getColor()
java.awt.Color getPatternColor()
IDrawingPattern getDrawingPattern()
null
to
use no pattern).java.awt.geom.Rectangle2D getLayoutRectangle()
setLayoutRectangle(Rectangle2D)
.void setLayoutRectangle(java.awt.geom.Rectangle2D rect)
java.lang.String getTooltipId()
java.util.List<java.lang.String> getTooltipKeys()
java.lang.Object getTooltipValue(java.lang.String key)
double recalculateAreaAggregates()