public enum LabelGroup extends Enum<LabelGroup>
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 and Description |
---|
Default
Default group for labels that should not overlap.
|
NoDeclutter
Default group for labels that are never removed.
|
Modifier and Type | Method and Description |
---|---|
static LabelGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelGroup Default
When no non-overlapping position can be found for a label, it is removed. Labels are placed in this group by default.
public static final LabelGroup NoDeclutter
public static LabelGroup[] values()
for (LabelGroup c : LabelGroup.values()) System.out.println(c);
public static LabelGroup valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null