org.jagatoo.loaders.models._util
Enum GeometryFactory.GeometryType

java.lang.Object
  extended by java.lang.Enum<GeometryFactory.GeometryType>
      extended by org.jagatoo.loaders.models._util.GeometryFactory.GeometryType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GeometryFactory.GeometryType>
Enclosing interface:
GeometryFactory

public static enum GeometryFactory.GeometryType
extends java.lang.Enum<GeometryFactory.GeometryType>


Enum Constant Summary
INDEXED_TRIANGLE_ARRAY
           
INDEXED_TRIANGLE_FAN_ARRAY
           
INDEXED_TRIANGLE_STRIP_ARRAY
           
TRIANGLE_ARRAY
           
TRIANGLE_FAN_ARRAY
           
TRIANGLE_STRIP_ARRAY
           
 
Method Summary
static GeometryFactory.GeometryType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GeometryFactory.GeometryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TRIANGLE_ARRAY

public static final GeometryFactory.GeometryType TRIANGLE_ARRAY

TRIANGLE_STRIP_ARRAY

public static final GeometryFactory.GeometryType TRIANGLE_STRIP_ARRAY

INDEXED_TRIANGLE_ARRAY

public static final GeometryFactory.GeometryType INDEXED_TRIANGLE_ARRAY

INDEXED_TRIANGLE_STRIP_ARRAY

public static final GeometryFactory.GeometryType INDEXED_TRIANGLE_STRIP_ARRAY

TRIANGLE_FAN_ARRAY

public static final GeometryFactory.GeometryType TRIANGLE_FAN_ARRAY

INDEXED_TRIANGLE_FAN_ARRAY

public static final GeometryFactory.GeometryType INDEXED_TRIANGLE_FAN_ARRAY
Method Detail

values

public static GeometryFactory.GeometryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GeometryFactory.GeometryType c : GeometryFactory.GeometryType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GeometryFactory.GeometryType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null