org.box2d.proto
Enum Box2D.PbJointType

java.lang.Object
  extended by java.lang.Enum<Box2D.PbJointType>
      extended by 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


Enum Constant Summary
CONSTANT_VOLUME
           
DISTANCE
           
FRICTION
           
GEAR
           
LINE
           
MOUSE
           
PRISMATIC
           
PULLEY
           
REVOLUTE
           
ROPE
           
WELD
           
WHEEL
           
 
Field Summary
static int CONSTANT_VOLUME_VALUE
           
static int DISTANCE_VALUE
           
static int FRICTION_VALUE
           
static int GEAR_VALUE
           
static int LINE_VALUE
           
static int MOUSE_VALUE
           
static int PRISMATIC_VALUE
           
static int PULLEY_VALUE
           
static int REVOLUTE_VALUE
           
static int ROPE_VALUE
           
static int WELD_VALUE
           
static int WHEEL_VALUE
           
 
Method Summary
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
           
 com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
           
 int getNumber()
           
 com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
           
static com.google.protobuf.Internal.EnumLiteMap<Box2D.PbJointType> internalGetValueMap()
           
static Box2D.PbJointType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static Box2D.PbJointType valueOf(int value)
           
static Box2D.PbJointType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Box2D.PbJointType[] 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

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
Field Detail

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
Method Detail

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.