maspack.properties
Enum PropertyDesc.TypeCode

java.lang.Object
  extended by java.lang.Enum<PropertyDesc.TypeCode>
      extended by maspack.properties.PropertyDesc.TypeCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PropertyDesc.TypeCode>
Enclosing class:
PropertyDesc

public static enum PropertyDesc.TypeCode
extends java.lang.Enum<PropertyDesc.TypeCode>


Enum Constant Summary
AXIS_ANGLE
           
BOOLEAN
           
BYTE
           
CHAR
           
COLOR
           
DIMENSION
           
DOUBLE
           
DOUBLE_ARRAY
           
ENUM
           
FLOAT
           
FLOAT_ARRAY
           
INT
           
INT_ARRAY
           
LONG
           
LONG_ARRAY
           
MATRIX
           
OTHER
           
POINT
           
SCANABLE
           
SHORT
           
SHORT_ARRAY
           
STRING
           
VECTOR
           
 
Method Summary
static PropertyDesc.TypeCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PropertyDesc.TypeCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BYTE

public static final PropertyDesc.TypeCode BYTE

CHAR

public static final PropertyDesc.TypeCode CHAR

SHORT

public static final PropertyDesc.TypeCode SHORT

INT

public static final PropertyDesc.TypeCode INT

LONG

public static final PropertyDesc.TypeCode LONG

FLOAT

public static final PropertyDesc.TypeCode FLOAT

DOUBLE

public static final PropertyDesc.TypeCode DOUBLE

BOOLEAN

public static final PropertyDesc.TypeCode BOOLEAN

SHORT_ARRAY

public static final PropertyDesc.TypeCode SHORT_ARRAY

INT_ARRAY

public static final PropertyDesc.TypeCode INT_ARRAY

LONG_ARRAY

public static final PropertyDesc.TypeCode LONG_ARRAY

FLOAT_ARRAY

public static final PropertyDesc.TypeCode FLOAT_ARRAY

DOUBLE_ARRAY

public static final PropertyDesc.TypeCode DOUBLE_ARRAY

COLOR

public static final PropertyDesc.TypeCode COLOR

AXIS_ANGLE

public static final PropertyDesc.TypeCode AXIS_ANGLE

ENUM

public static final PropertyDesc.TypeCode ENUM

VECTOR

public static final PropertyDesc.TypeCode VECTOR

MATRIX

public static final PropertyDesc.TypeCode MATRIX

STRING

public static final PropertyDesc.TypeCode STRING

SCANABLE

public static final PropertyDesc.TypeCode SCANABLE

DIMENSION

public static final PropertyDesc.TypeCode DIMENSION

POINT

public static final PropertyDesc.TypeCode POINT

OTHER

public static final PropertyDesc.TypeCode OTHER
Method Detail

values

public static PropertyDesc.TypeCode[] 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 (PropertyDesc.TypeCode c : PropertyDesc.TypeCode.values())
    System.out.println(c);

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

valueOf

public static PropertyDesc.TypeCode 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