Package com.treemap
Class ColoredSurroundLabeling<N,Row,Column,Color,Font>
java.lang.Object
com.treemap.AbstractLabeling<N,Row,Column,Color,Font>
com.treemap.SurroundLabeling<N,Row,Column,Color,Font>
com.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.treemap.SurroundLabeling
MINIMUM_FONT_SIZE_TO_DISPLAY
Fields inherited from class com.treemap.AbstractLabeling
COLOR_SIMILARITY_THRESHOLD, SHARE_OF_ZOOM_FACTOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) toString()
Methods inherited from class com.treemap.SurroundLabeling
computePreferredHeight, getLeftSpace, getTopSpace, paintParent, setHeadless, subtract
Methods inherited from class com.treemap.AbstractLabeling
adjustLabelColor, calcCenterOfMass, findEnclosedRectangle, getArea, getCentroid, getPoints, getTopHeaderSpacing, getTreeMapFieldsByVerticalAlignment, paintFields, paintLabel, paintLeaf
-
Constructor Details
-
ColoredSurroundLabeling
public ColoredSurroundLabeling()
-
-
Method Details
-
getForegroundColor
- Overrides:
getForegroundColor
in classSurroundLabeling<N,
Row, Column, Color, Font>
-
getEffectColor
- Overrides:
getEffectColor
in classSurroundLabeling<N,
Row, Column, Color, Font>
-
getBackgroundColor
- Overrides:
getBackgroundColor
in classSurroundLabeling<N,
Row, Column, Color, Font>
-
toString
-