public static enum LabelProvider.Key extends java.lang.Enum<LabelProvider.Key>
LabelProvider.Key
enumerated type is for convenience when
working with common label provider keys.Enum Constant and Description |
---|
LONG_LABEL |
SHORT_LABEL |
TO_STRING |
TOOLTIP |
Modifier and Type | Method and Description |
---|---|
static LabelProvider.Key |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LabelProvider.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelProvider.Key SHORT_LABEL
public static final LabelProvider.Key LONG_LABEL
public static final LabelProvider.Key TOOLTIP
public static final LabelProvider.Key TO_STRING
public static LabelProvider.Key[] values()
for (LabelProvider.Key c : LabelProvider.Key.values()) System.out.println(c);
public static LabelProvider.Key valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null