Class LabelingFactory


  • @JsType
    public class LabelingFactory
    extends java.lang.Object
    Factory class for accessing predefined labeling schemes.
    • 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

      • 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)