public static enum Drawer.Tools extends java.lang.Enum<Drawer.Tools>
Enum Constant and Description |
---|
DROPPER |
ERASER |
FILL |
LINE |
MOVE |
PEN |
SHAPE |
TEXT |
Modifier and Type | Method and Description |
---|---|
static Drawer.Tools |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Drawer.Tools[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Drawer.Tools LINE
public static final Drawer.Tools PEN
public static final Drawer.Tools ERASER
public static final Drawer.Tools MOVE
public static final Drawer.Tools SHAPE
public static final Drawer.Tools FILL
public static final Drawer.Tools DROPPER
public static final Drawer.Tools TEXT
public static Drawer.Tools[] values()
for (Drawer.Tools c : Drawer.Tools.values()) System.out.println(c);
public static Drawer.Tools 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