Package com.macrofocus.treemap
Class LabelingFactory
- java.lang.Object
-
- com.macrofocus.treemap.LabelingFactory
-
@JsType public class LabelingFactory extends java.lang.Object
Factory class for accessing predefined labeling schemes.
-
-
Field Summary
Fields Modifier and Type Field Description static SurroundLabeling
COLORED_SURROUND
Display the label of the parent node above its children.static Labeling
EXPAND
Display the label of the parent nodes in the center of its children (overlaid).static Labeling
NONE
Only display labels for leaf nodes.static Labeling
OVERLAY
Display the labels right on top of its children.static SurroundLabeling
SURROUND
Display the label of the parent node above its children.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Labeling entry)
Labeling
get(java.lang.String name)
Labeling
getDefault()
static LabelingFactory
getInstance()
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)
-
-