Package com.treemap
Interface Labeling<N,Row,Column,Color,Font>
- Type Parameters:
N- the type of nodes
- All Known Implementing Classes:
AbstractLabeling,ColoredSurroundLabeling,ExpandLabeling,OverlayLabeling,SurroundLabeling
public interface Labeling<N,Row,Column,Color,Font>
Defines how parent and leaf nodes should be labeled.
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetLeftSpace(TreeMapModel<N, Row, Column, Color, Font> model) doublegetTopHeaderSpacing(N parent, N node, TreeMapView view, TreeMapModel model) doublegetTopSpace(TreeMapModel<N, Row, Column, Color, Font> model) voidpaintLeaf(TGraphics<Color, Font> g2, com.macrofocus.geom.Shape shape, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view) voidpaintParent(TGraphics<Color, Font> g2, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view, int pass, int passes) com.macrofocus.geom.Shape
-
Method Details
-
getTopSpace
-
getLeftSpace
-
subtract
-
paintParent
void paintParent(TGraphics<Color, Font> g2, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view, int pass, int passes) -
paintLeaf
void paintLeaf(TGraphics<Color, Font> g2, com.macrofocus.geom.Shape shape, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view) -
getTopHeaderSpacing
-