# Class JointDef

java.lang.Object
com.codename1.gaming.physics.box2d.dynamics.joints.JointDef

Direct Known Subclasses:
  `ConstantVolumeJointDef, DistanceJointDef, FrictionJointDef, GearJointDef, MouseJointDef, PrismaticJointDef, PulleyJointDef, RevoluteJointDef, RopeJointDef, WeldJointDef, WheelJointDef`

public class JointDef extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `Body`
  `bodyA`
  `Body`
  `bodyB`
  `boolean`
  `collideConnected`
  `JointType`
  `type`
  `Object`
  `userData`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JointDef()`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### type

    public JointType type

  - ### userData

    public Object userData

  - ### bodyA

    public Body bodyA

  - ### bodyB

    public Body bodyB

  - ### collideConnected

    public boolean collideConnected

- ## Constructor Details

  - ### JointDef

    public JointDef()