org.box2d.proto
Enum Box2D.PbJointType
java.lang.Object
java.lang.Enum<Box2D.PbJointType>
org.box2d.proto.Box2D.PbJointType
- All Implemented Interfaces:
- com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Box2D.PbJointType>
- Enclosing class:
- Box2D
public static enum Box2D.PbJointType
- extends Enum<Box2D.PbJointType>
- implements com.google.protobuf.ProtocolMessageEnum
DISTANCE
public static final Box2D.PbJointType DISTANCE
REVOLUTE
public static final Box2D.PbJointType REVOLUTE
PRISMATIC
public static final Box2D.PbJointType PRISMATIC
PULLEY
public static final Box2D.PbJointType PULLEY
MOUSE
public static final Box2D.PbJointType MOUSE
GEAR
public static final Box2D.PbJointType GEAR
WHEEL
public static final Box2D.PbJointType WHEEL
WELD
public static final Box2D.PbJointType WELD
FRICTION
public static final Box2D.PbJointType FRICTION
ROPE
public static final Box2D.PbJointType ROPE
CONSTANT_VOLUME
public static final Box2D.PbJointType CONSTANT_VOLUME
LINE
public static final Box2D.PbJointType LINE
DISTANCE_VALUE
public static final int DISTANCE_VALUE
- See Also:
- Constant Field Values
REVOLUTE_VALUE
public static final int REVOLUTE_VALUE
- See Also:
- Constant Field Values
PRISMATIC_VALUE
public static final int PRISMATIC_VALUE
- See Also:
- Constant Field Values
PULLEY_VALUE
public static final int PULLEY_VALUE
- See Also:
- Constant Field Values
MOUSE_VALUE
public static final int MOUSE_VALUE
- See Also:
- Constant Field Values
GEAR_VALUE
public static final int GEAR_VALUE
- See Also:
- Constant Field Values
WHEEL_VALUE
public static final int WHEEL_VALUE
- See Also:
- Constant Field Values
WELD_VALUE
public static final int WELD_VALUE
- See Also:
- Constant Field Values
FRICTION_VALUE
public static final int FRICTION_VALUE
- See Also:
- Constant Field Values
ROPE_VALUE
public static final int ROPE_VALUE
- See Also:
- Constant Field Values
CONSTANT_VOLUME_VALUE
public static final int CONSTANT_VOLUME_VALUE
- See Also:
- Constant Field Values
LINE_VALUE
public static final int LINE_VALUE
- See Also:
- Constant Field Values
values
public static Box2D.PbJointType[] 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 (Box2D.PbJointType c : Box2D.PbJointType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Box2D.PbJointType valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getNumber
public final int getNumber()
- Specified by:
getNumber
in interface com.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
valueOf
public static Box2D.PbJointType valueOf(int value)
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Box2D.PbJointType> internalGetValueMap()
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
valueOf
public static Box2D.PbJointType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013. All Rights Reserved.