com.bulletphysics.demos.genericjoint
Enum RagDoll.JointType
java.lang.Object
java.lang.Enum<RagDoll.JointType>
com.bulletphysics.demos.genericjoint.RagDoll.JointType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RagDoll.JointType>
- Enclosing class:
- RagDoll
public static enum RagDoll.JointType
- extends java.lang.Enum<RagDoll.JointType>
Method Summary |
static RagDoll.JointType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RagDoll.JointType[] |
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 |
JOINT_PELVIS_SPINE
public static final RagDoll.JointType JOINT_PELVIS_SPINE
JOINT_SPINE_HEAD
public static final RagDoll.JointType JOINT_SPINE_HEAD
JOINT_LEFT_HIP
public static final RagDoll.JointType JOINT_LEFT_HIP
JOINT_LEFT_KNEE
public static final RagDoll.JointType JOINT_LEFT_KNEE
JOINT_RIGHT_HIP
public static final RagDoll.JointType JOINT_RIGHT_HIP
JOINT_RIGHT_KNEE
public static final RagDoll.JointType JOINT_RIGHT_KNEE
JOINT_LEFT_SHOULDER
public static final RagDoll.JointType JOINT_LEFT_SHOULDER
JOINT_LEFT_ELBOW
public static final RagDoll.JointType JOINT_LEFT_ELBOW
JOINT_RIGHT_SHOULDER
public static final RagDoll.JointType JOINT_RIGHT_SHOULDER
JOINT_RIGHT_ELBOW
public static final RagDoll.JointType JOINT_RIGHT_ELBOW
JOINT_COUNT
public static final RagDoll.JointType JOINT_COUNT
values
public static RagDoll.JointType[] 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 (RagDoll.JointType c : RagDoll.JointType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RagDoll.JointType 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