com.badlogic.gdx.physics.box2d
Enum JointDef.JointType
java.lang.Object
java.lang.Enum<JointDef.JointType>
com.badlogic.gdx.physics.box2d.JointDef.JointType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<JointDef.JointType>
- Enclosing class:
- JointDef
public static enum JointDef.JointType
- extends java.lang.Enum<JointDef.JointType>
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 |
Unknown
public static final JointDef.JointType Unknown
RevoluteJoint
public static final JointDef.JointType RevoluteJoint
PrismaticJoint
public static final JointDef.JointType PrismaticJoint
DistanceJoint
public static final JointDef.JointType DistanceJoint
PulleyJoint
public static final JointDef.JointType PulleyJoint
MouseJoint
public static final JointDef.JointType MouseJoint
GearJoint
public static final JointDef.JointType GearJoint
WheelJoint
public static final JointDef.JointType WheelJoint
WeldJoint
public static final JointDef.JointType WeldJoint
FrictionJoint
public static final JointDef.JointType FrictionJoint
RopeJoint
public static final JointDef.JointType RopeJoint
valueTypes
public static JointDef.JointType[] valueTypes
values
public static JointDef.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 (JointDef.JointType c : JointDef.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 JointDef.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
getValue
public int getValue()
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)