Class dnx.lr.NodeObserverEvent
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dnx.lr.NodeObserverEvent

java.lang.Object
   |
   +----dnx.util.DNXObject
           |
           +----dnx.util.DNXInstancedObject
                   |
                   +----dnx.util.DNXObserverEvent
                           |
                           +----dnx.lr.NodeObserverEvent

public class NodeObserverEvent
extends DNXObserverEvent
NodeObserverEvent encapsulates a notification of a change in a node. Callers request notification of such events by becoming observers of the node, through calling addObserver() on the Node. NodeObserverEvents have three fields: a type (what happened) and a detail field. @see dnx.util.DNXObservable @see dnx.util.DNXObserver

Variable Index

 o ADD_CHILD_EVENT
A child was just added.
 o BOUNDING_BOX_CHANGED_EVENT
The bounding box of a node changed.
 o DELETE_CHILD_EVENT
A child is about to be deleted.
 o EVENT_OUT_CHANGED_EVENT
An eventOut was modified.
 o EVENT_RECEIVED_EVENT
A SceneEvent was received at an eventIn.
 o FIELD_CHANGED_EVENT
A field was modified.

Constructor Index

 o NodeObserverEvent(Node, int, Object)

Method Index

 o getEventInfo()
Return the detail of the event.
 o getEventTypeName()
 o getNode()
 o toString()

Variables

 o EVENT_RECEIVED_EVENT
  public final static int EVENT_RECEIVED_EVENT
A SceneEvent was received at an eventIn. The detail is a SceneEvent.
 o FIELD_CHANGED_EVENT
  public final static int FIELD_CHANGED_EVENT
A field was modified. The detail is an Integer, the field index.
 o EVENT_OUT_CHANGED_EVENT
  public final static int EVENT_OUT_CHANGED_EVENT
An eventOut was modified. The detail is an Integer, the eventOut index.
 o ADD_CHILD_EVENT
  public final static int ADD_CHILD_EVENT
A child was just added. The detail is a NodeChildChangeDetail.
 o DELETE_CHILD_EVENT
  public final static int DELETE_CHILD_EVENT
A child is about to be deleted. The detail is a NodeChildChangeDetail.
 o BOUNDING_BOX_CHANGED_EVENT
  public final static int BOUNDING_BOX_CHANGED_EVENT
The bounding box of a node changed. The details is a new BoundingBox3

Constructors

 o NodeObserverEvent
  public NodeObserverEvent(Node node,
                           int type,
                           Object info)

Methods

 o getNode
  public Node getNode()
 o getEventTypeName
  public String getEventTypeName()
 o getEventInfo
  public Object getEventInfo()
Return the detail of the event.
 o toString
  public String toString()
Overrides:
toString in class DNXInstancedObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index