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 TypeMethodDescriptiondouble
getLeftSpace
(TreeMapModel<N, Row, Column, Color, Font> model) double
getTopHeaderSpacing
(N parent, N node, TreeMapView view, TreeMapModel model) double
getTopSpace
(TreeMapModel<N, Row, Column, Color, Font> model) void
paintLeaf
(TGraphics<Color, Font> g2, com.macrofocus.geom.Shape shape, com.macrofocus.geom.Rectangle bounds, N node, TreeMapView view) void
paintParent
(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
-