Package com.macrofocus.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
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, java.awt.Shape shape, java.awt.Rectangle bounds, N node, TreeMapView view)
void
paintParent(TGraphics<Color,Font> g2, java.awt.Rectangle bounds, N node, TreeMapView view, int pass, int passes)
java.awt.Shape
subtract(TreeMapModel<N,Row,Column,Color,Font> model, java.awt.Shape rectangle, N node)
-
-
-
Method Detail
-
subtract
java.awt.Shape subtract(TreeMapModel<N,Row,Column,Color,Font> model, java.awt.Shape rectangle, N node)
-
paintParent
void paintParent(TGraphics<Color,Font> g2, java.awt.Rectangle bounds, N node, TreeMapView view, int pass, int passes)
-
paintLeaf
void paintLeaf(TGraphics<Color,Font> g2, java.awt.Shape shape, java.awt.Rectangle bounds, N node, TreeMapView view)
-
getTopHeaderSpacing
double getTopHeaderSpacing(N parent, N node, TreeMapView view, TreeMapModel model)
-
-