public static enum Drawer.Shapes extends java.lang.Enum<Drawer.Shapes>
Enum Constant and Description |
---|
CIRCLE |
NGON |
OVAL |
RECTANGLE |
SQUARE |
STAR |
TUBE |
Modifier and Type | Method and Description |
---|---|
static Drawer.Shapes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Drawer.Shapes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Drawer.Shapes RECTANGLE
public static final Drawer.Shapes SQUARE
public static final Drawer.Shapes OVAL
public static final Drawer.Shapes CIRCLE
public static final Drawer.Shapes STAR
public static final Drawer.Shapes TUBE
public static final Drawer.Shapes NGON
public static Drawer.Shapes[] values()
for (Drawer.Shapes c : Drawer.Shapes.values()) System.out.println(c);
public static Drawer.Shapes 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