org.ogre4j
Enum AnimableValue.ValueType

java.lang.Object
  extended by java.lang.Enum<AnimableValue.ValueType>
      extended by org.ogre4j.AnimableValue.ValueType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AnimableValue.ValueType>, INativeEnum<AnimableValue.ValueType>
Enclosing class:
AnimableValue

public static enum AnimableValue.ValueType
extends java.lang.Enum<AnimableValue.ValueType>
implements INativeEnum<AnimableValue.ValueType>


Enum Constant Summary
COLOUR
           
DEGREE
           
INT
           
QUATERNION
           
RADIAN
           
REAL
           
VECTOR2
           
VECTOR3
           
VECTOR4
           
 
Method Summary
 AnimableValue.ValueType getEnum(int val)
          Returns the enumeration value for the passed integer.
 int getValue()
          Returns the integer value of this enumeration value.
static AnimableValue.ValueType toEnum(int retval)
           
static AnimableValue.ValueType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AnimableValue.ValueType[] 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

INT

public static final AnimableValue.ValueType INT

REAL

public static final AnimableValue.ValueType REAL

VECTOR2

public static final AnimableValue.ValueType VECTOR2

VECTOR3

public static final AnimableValue.ValueType VECTOR3

VECTOR4

public static final AnimableValue.ValueType VECTOR4

QUATERNION

public static final AnimableValue.ValueType QUATERNION

COLOUR

public static final AnimableValue.ValueType COLOUR

RADIAN

public static final AnimableValue.ValueType RADIAN

DEGREE

public static final AnimableValue.ValueType DEGREE
Method Detail

values

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

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

valueOf

public static AnimableValue.ValueType 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

getValue

public int getValue()
Description copied from interface: INativeEnum
Returns the integer value of this enumeration value.

Specified by:
getValue in interface INativeEnum<AnimableValue.ValueType>

getEnum

public AnimableValue.ValueType getEnum(int val)
Description copied from interface: INativeEnum
Returns the enumeration value for the passed integer.

Specified by:
getEnum in interface INativeEnum<AnimableValue.ValueType>

toEnum

public static final AnimableValue.ValueType toEnum(int retval)


Copyright © 2007 netAllied GmbH. All Rights Reserved.