|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type the user data has.public interface ITreeMapNode<T>
Interface for nodes used for building the tree map node hierarchy which is then rendered as a tree map.
Method Summary | |
---|---|
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. |
T |
getUserDatum()
Returns some user defined data which can be useful for some callbacks. |
void |
setLayoutRectangle(java.awt.geom.Rectangle2D rect)
Sets the rectangle this node should be layouted into. |
Method Detail |
---|
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).
T getUserDatum()
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)
|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |