public static enum Decorators.MouseModeDecorator extends java.lang.Enum<Decorators.MouseModeDecorator> implements Decorators.Decorator, Decorators.HasLabel
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
label |
private edu.uci.ics.jung.visualization.control.ModalGraphMouse.Mode |
mode |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toLabel() |
java.lang.Object |
toValue() |
static Decorators.MouseModeDecorator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Decorators.MouseModeDecorator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Decorators.MouseModeDecorator PICK
public static final Decorators.MouseModeDecorator TRANSFORM
private final edu.uci.ics.jung.visualization.control.ModalGraphMouse.Mode mode
private final java.lang.String label
public static Decorators.MouseModeDecorator[] values()
for (Decorators.MouseModeDecorator c : Decorators.MouseModeDecorator.values()) System.out.println(c);
public static Decorators.MouseModeDecorator 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