# Class DynamicTreeNode

java.lang.Object
com.codename1.gaming.physics.box2d.collision.broadphase.DynamicTreeNode

public class DynamicTreeNode extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final AABB`
  `aabb`
  Enlarged AABB
  `protected DynamicTreeNode`
  `child1`
  `protected DynamicTreeNode`
  `child2`
  `protected int`
  `height`
  `protected final int`
  `id`
  `protected boolean`
  `leaf`
  `protected DynamicTreeNode`
  `parent`
  `Object`
  `userData`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `DynamicTreeNode(int id)`
  Should never be constructed outside the engine

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getUserData()`
  `final boolean`
  `isLeaf()`
  `void`
  `setUserData(Object argData)`

  ### Methods inherited from class Object

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

- ## Field Details

  - ### aabb

    public final AABB aabb
    Enlarged AABB

  - ### userData

    public Object userData

  - ### parent

    protected DynamicTreeNode parent

  - ### child1

    protected DynamicTreeNode child1

  - ### child2

    protected DynamicTreeNode child2

  - ### id

    protected final int id

  - ### leaf

    protected boolean leaf

  - ### height

    protected int height

- ## Constructor Details

  - ### DynamicTreeNode

    protected DynamicTreeNode(int id)
    Should never be constructed outside the engine

- ## Method Details

  - ### isLeaf

    public final boolean isLeaf()

  - ### getUserData

    public Object getUserData()

  - ### setUserData

    public void setUserData(Object argData)