Enum Class LabelGroup

java.lang.Object
java.lang.Enum<LabelGroup>
com.luciad.layers.features.LabelGroup
All Implemented Interfaces:
Serializable, Comparable<LabelGroup>, Constable

public enum LabelGroup extends Enum<LabelGroup>
An enumeration of predefined groups for label decluttering.

A label declutter group is a collection of labels that are positioned independently from other label declutter groups. I.e. labels from one group will never affect labels from other groups. This also means that labels from different groups are allowed to overlap.

  • Enum Constant Details Link icon

    • Default Link icon

      public static final LabelGroup Default
      Default group for labels that should not overlap.

      When no non-overlapping position can be found for a label, it is removed. Labels are placed in this group by default.

    • NoDeclutter Link icon

      public static final LabelGroup NoDeclutter
      Default group for labels that are never removed.
  • Method Details Link icon

    • values Link icon

      public static LabelGroup[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf Link icon

      public static LabelGroup valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null