Package com.macrofocus.treemap
Class ColoredSurroundLabeling<N,Row,Column,Color,Font>
- java.lang.Object
-
- com.macrofocus.treemap.AbstractLabeling<N,Row,Column,Color,Font>
-
- com.macrofocus.treemap.SurroundLabeling<N,Row,Column,Color,Font>
-
- com.macrofocus.treemap.ColoredSurroundLabeling<N,Row,Column,Color,Font>
-
- All Implemented Interfaces:
Labeling<N,Row,Column,Color,Font>
@JsType public class ColoredSurroundLabeling<N,Row,Column,Color,Font> extends SurroundLabeling<N,Row,Column,Color,Font>
-
-
Field Summary
-
Fields inherited from class com.macrofocus.treemap.SurroundLabeling
MINIMUM_FONT_SIZE_TO_DISPLAY
-
Fields inherited from class com.macrofocus.treemap.AbstractLabeling
COLOR_SIMILARITY_THRESHOLD, SHARE_OF_ZOOM_FACTOR
-
-
Constructor Summary
Constructors Constructor Description ColoredSurroundLabeling()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.macrofocus.igraphics.CPColor<Color>
getBackgroundColor(N node, TreeMapModel model)
protected com.macrofocus.igraphics.CPColor<Color>
getEffectColor(N node, TreeMapModel model)
protected com.macrofocus.igraphics.CPColor<Color>
getForegroundColor(N node, TreeMapModel model)
java.lang.String
toString()
-
Methods inherited from class com.macrofocus.treemap.SurroundLabeling
computePreferredHeight, getLeftSpace, getTopSpace, paintParent, setHeadless, subtract
-
Methods inherited from class com.macrofocus.treemap.AbstractLabeling
adjustLabelColor, calcCenterOfMass, findEnclosedRectangle, getArea, getCentroid, getPoints, getTopHeaderSpacing, getTreeMapFieldsByVerticalAlignment, paintFields, paintLabel, paintLeaf
-
-
-
-
Method Detail
-
getForegroundColor
protected com.macrofocus.igraphics.CPColor<Color> getForegroundColor(N node, TreeMapModel model)
- Overrides:
getForegroundColor
in classSurroundLabeling<N,Row,Column,Color,Font>
-
getEffectColor
protected com.macrofocus.igraphics.CPColor<Color> getEffectColor(N node, TreeMapModel model)
- Overrides:
getEffectColor
in classSurroundLabeling<N,Row,Column,Color,Font>
-
getBackgroundColor
protected com.macrofocus.igraphics.CPColor<Color> getBackgroundColor(N node, TreeMapModel model)
- Overrides:
getBackgroundColor
in classSurroundLabeling<N,Row,Column,Color,Font>
-
-