|
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. |
List<ITreeMapNode<T>> |
getChildren()
Returns the list of children of this node. |
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). |
Rectangle2D |
getLayoutRectangle()
Returns the rectangle this node was layouted into. |
Color |
getPatternColor()
Returns the color used for drawing the pattern (if any) of this node. |
String |
getText()
Returns the text of the tree map node |
String |
getTooltipId()
Get displayable name of the node. |
List<String> |
getTooltipKeys()
Returns keys for structured displayable data. |
Object |
getTooltipValue(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(Rectangle2D rect)
Sets the rectangle this node should be layouted into. |
| Method Detail |
|---|
String getText()
List<ITreeMapNode<T>> getChildren()
double getArea()
Color getColor()
Color getPatternColor()
IDrawingPattern getDrawingPattern()
null
to use no pattern).
T getUserDatum()
Rectangle2D getLayoutRectangle()
setLayoutRectangle(Rectangle2D).
void setLayoutRectangle(Rectangle2D rect)
String getTooltipId()
List<String> getTooltipKeys()
Object getTooltipValue(String key)
|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||