public static enum Enums.PointType extends java.lang.Enum<Enums.PointType>
Enum Constant and Description |
---|
CIRCLE |
DOT |
SQUARE |
TRIANGLE_DOWN |
TRIANGLE_UP |
X |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Enums.PointType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.PointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.PointType X
public static final Enums.PointType DOT
public static final Enums.PointType CIRCLE
public static final Enums.PointType SQUARE
public static final Enums.PointType TRIANGLE_UP
public static final Enums.PointType TRIANGLE_DOWN
public static Enums.PointType[] values()
for (Enums.PointType c : Enums.PointType.values()) System.out.println(c);
public static Enums.PointType 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 toString()
toString
in class java.lang.Enum<Enums.PointType>