public enum Display extends Enum<Display> implements Key
Enum Constant and Description |
---|
auto
The label is hidden if it overlap with another label.
The display 'auto' option can be used to prevent overlapping labels, based on the following rules when two labels overlap: if both labels are display: true, they will be drawn overlapping if both labels are display: 'auto', the one with the highest data index will be hidden. |
isFalse
The label is hidden.
|
isTrue
This is default and the label is drawn.
|
Modifier and Type | Method and Description |
---|---|
static Display |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Display[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Display isTrue
public static final Display isFalse
public static final Display auto
public static Display[] values()
for (Display c : Display.values()) System.out.println(c);
public static Display 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