public static enum MapDrawer.Shape extends java.lang.Enum<MapDrawer.Shape>
Enum Constant and Description |
---|
Box |
Circle |
Dot |
Ellipse |
Line |
None |
Text |
Triangle |
Modifier and Type | Method and Description |
---|---|
static MapDrawer.Shape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapDrawer.Shape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapDrawer.Shape None
public static final MapDrawer.Shape Text
public static final MapDrawer.Shape Box
public static final MapDrawer.Shape Triangle
public static final MapDrawer.Shape Circle
public static final MapDrawer.Shape Ellipse
public static final MapDrawer.Shape Dot
public static final MapDrawer.Shape Line
public static MapDrawer.Shape[] values()
for (MapDrawer.Shape c : MapDrawer.Shape.values()) System.out.println(c);
public static MapDrawer.Shape 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