public static enum View.NodeMode extends java.lang.Enum<View.NodeMode> implements Decorators.Decorator, Decorators.HasLabel
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
label |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toLabel() |
java.lang.Object |
toValue() |
static View.NodeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static View.NodeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final View.NodeMode BITMAP
public static final View.NodeMode LABELED
public static View.NodeMode[] values()
for (View.NodeMode c : View.NodeMode.values()) System.out.println(c);
public static View.NodeMode 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 nullpublic java.lang.String toLabel()
toLabel
in interface Decorators.HasLabel
public java.lang.Object toValue()
toValue
in interface Decorators.Decorator