Package com.macrofocus.treemap
Class ExpandLabeling<N,Row,Column,Color,Font>
- java.lang.Object
-
- com.macrofocus.treemap.AbstractLabeling<N,Row,Column,Color,Font>
-
- com.macrofocus.treemap.ExpandLabeling<N,Row,Column,Color,Font>
-
- Type Parameters:
N
- the type of nodes
- All Implemented Interfaces:
Labeling<N,Row,Column,Color,Font>
@JsType public class ExpandLabeling<N,Row,Column,Color,Font> extends AbstractLabeling<N,Row,Column,Color,Font>
Display the label of the parent nodes in the center of its children (overlaid).
-
-
Field Summary
-
Fields inherited from class com.macrofocus.treemap.AbstractLabeling
COLOR_SIMILARITY_THRESHOLD, SHARE_OF_ZOOM_FACTOR
-
-
Constructor Summary
Constructors Constructor Description ExpandLabeling()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paintParent(TGraphics<Color,Font> g, java.awt.Rectangle bounds, N node, TreeMapView view, int pass, int passes)
java.lang.String
toString()
-
Methods inherited from class com.macrofocus.treemap.AbstractLabeling
adjustLabelColor, calcCenterOfMass, findEnclosedRectangle, getArea, getCentroid, getLeftSpace, getPoints, getTopHeaderSpacing, getTopSpace, getTreeMapFieldsByVerticalAlignment, paintFields, paintLabel, paintLeaf, subtract
-
-
-
-
Method Detail
-
paintParent
public void paintParent(TGraphics<Color,Font> g, java.awt.Rectangle bounds, N node, TreeMapView view, int pass, int passes)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-