public static enum PaintEditor.State extends java.lang.Enum<PaintEditor.State>
Enum Constant and Description |
---|
APPLY
Apply pressed
|
CANCEL
Cancel pressed
|
OK
Ok pressed
|
Modifier and Type | Method and Description |
---|---|
static PaintEditor.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaintEditor.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaintEditor.State OK
public static final PaintEditor.State APPLY
public static final PaintEditor.State CANCEL
public static PaintEditor.State[] values()
for (PaintEditor.State c : PaintEditor.State.values()) System.out.println(c);
public static PaintEditor.State 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