public static enum GL2Primitive.PrimitiveType extends java.lang.Enum<GL2Primitive.PrimitiveType>
Enum Constant and Description |
---|
CONE |
CUBE |
CYLINDER |
SPHERE |
SPINDLE |
Modifier and Type | Method and Description |
---|---|
static GL2Primitive.PrimitiveType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GL2Primitive.PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GL2Primitive.PrimitiveType SPHERE
public static final GL2Primitive.PrimitiveType CYLINDER
public static final GL2Primitive.PrimitiveType SPINDLE
public static final GL2Primitive.PrimitiveType CONE
public static final GL2Primitive.PrimitiveType CUBE
public static GL2Primitive.PrimitiveType[] values()
for (GL2Primitive.PrimitiveType c : GL2Primitive.PrimitiveType.values()) System.out.println(c);
public static GL2Primitive.PrimitiveType 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