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 doublegetLeftSpace(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, java.awt.Shape shape, java.awt.Rectangle bounds, N node, TreeMapView view)voidpaintParent(TGraphics<Color,Font> g2, java.awt.Rectangle bounds, N node, TreeMapView view, int pass, int passes)java.awt.Shapesubtract(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)
-
-