Package com.macrofocus.treemap
Class LabelingFactory
- java.lang.Object
-
- com.macrofocus.treemap.LabelingFactory
-
@JsType public class LabelingFactory extends java.lang.ObjectFactory class for accessing predefined labeling schemes.
-
-
Field Summary
Fields Modifier and Type Field Description static SurroundLabelingCOLORED_SURROUNDDisplay the label of the parent node above its children.static LabelingEXPANDDisplay the label of the parent nodes in the center of its children (overlaid).static LabelingNONEOnly display labels for leaf nodes.static LabelingOVERLAYDisplay the labels right on top of its children.static SurroundLabelingSURROUNDDisplay the label of the parent node above its children.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Labeling entry)Labelingget(java.lang.String name)LabelinggetDefault()static LabelingFactorygetInstance()java.util.List<Labeling>getLabelings()
-
-
-
Field Detail
-
OVERLAY
public static final Labeling OVERLAY
Display the labels right on top of its children.
-
SURROUND
public static final SurroundLabeling SURROUND
Display the label of the parent node above its children.
-
COLORED_SURROUND
public static final SurroundLabeling COLORED_SURROUND
Display the label of the parent node above its children.
-
NONE
public static final Labeling NONE
Only display labels for leaf nodes.
-
EXPAND
public static final Labeling EXPAND
Display the label of the parent nodes in the center of its children (overlaid).
-
-
Method Detail
-
getInstance
public static LabelingFactory getInstance()
-
add
public void add(Labeling entry)
-
getDefault
public Labeling getDefault()
-
getLabelings
public java.util.List<Labeling> getLabelings()
-
get
public Labeling get(java.lang.String name)
-
-