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

Class dnx.lr.SceneObserverEvent

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

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

Variable Index

 o BINDING_EVENT
The top value on one of the binding stacks was changed.
 o CLEAR_HELP_ECHO_EVENT
The browser is requested to remove a help-echo.
 o DISPLAY_HELP_ECHO_EVENT
The browser is requested to display a help-echo (tool tip, etc.) message, for example when the pointer passes over an Anchor node.
 o EVENT_OUT_CHANGED_EVENT
An event out field of a node in the scene has changed.
 o EVENT_RECEIVED_EVENT
An event in was received by a node
 o FIELD_CHANGED_EVENT
A field of a node in the scene has changed.
 o GET_CURRENT_FRAME_RATE_EVENT
The observer is requested to return the current viewpoint speed, if known.
 o GET_CURRENT_SPEED_EVENT
The observer is requested to return the current viewpoint speed, if known.
 o LOAD_BEGIN_EVENT
Scene has begun loading.
 o LOAD_DONE_EVENT
Scene is done loading.
 o LOAD_ERROR_EVENT
An error occurred while loading part of a scene.
 o LOAD_STATUS_EVENT
Periodic status from loading part of a scene, indicating what's being loaded and how much is loaded.
 o LOAD_URL_EVENT
The browser is requested to load a URL.
 o SET_ROOT_EVENT
The root of the scene was changed.
 o VIEWPOINT_ATTACH_EVENT
A viewpoint instance was attached to the scene.
 o VIEWPOINT_DETACH_EVENT
A viewpoint instance was detached from the scene.
 o WARNING_EVENT
Something non-fatal but generally bad occurred during the execution of a scene.

Constructor Index

 o SceneObserverEvent(int, Object)

Method Index

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

Variables

 o BINDING_EVENT
  public final static int BINDING_EVENT
The top value on one of the binding stacks was changed. This does *NOT* correspond directly with an isBound event being sent out, for at least two reasons: -- Two isBound events are sent out in general when a node is bound or unbound (a TRUE one for the new top of stack and a FALSE one for the old top of stack), whereas one BINDING_EVENT will be sent. -- It's possible for the node instance on the top of the stack to change without the node of the instances on the top of the stack changing. In such a case, no isBound events will be sent out but a BINDING_EVENT will still be sent.
 o SET_ROOT_EVENT
  public final static int SET_ROOT_EVENT
The root of the scene was changed. The detail is the new root node instance.
 o LOAD_STATUS_EVENT
  public final static int LOAD_STATUS_EVENT
Periodic status from loading part of a scene, indicating what's being loaded and how much is loaded. The detail is a SceneLoadStatusDetail object.
 o LOAD_BEGIN_EVENT
  public final static int LOAD_BEGIN_EVENT
Scene has begun loading. The detail is a SceneLoadBeginDetail object.
 o LOAD_DONE_EVENT
  public final static int LOAD_DONE_EVENT
Scene is done loading. The detail is a SceneLoadDoneDetail object.
 o LOAD_ERROR_EVENT
  public final static int LOAD_ERROR_EVENT
An error occurred while loading part of a scene. The detail is a SceneLoadErrorDetail object.
 o WARNING_EVENT
  public final static int WARNING_EVENT
Something non-fatal but generally bad occurred during the execution of a scene. The detail is a SceneWarningDetail object.
 o VIEWPOINT_ATTACH_EVENT
  public final static int VIEWPOINT_ATTACH_EVENT
A viewpoint instance was attached to the scene. The detail is the node instance.
 o VIEWPOINT_DETACH_EVENT
  public final static int VIEWPOINT_DETACH_EVENT
A viewpoint instance was detached from the scene. The detail is the node instance.
 o DISPLAY_HELP_ECHO_EVENT
  public final static int DISPLAY_HELP_ECHO_EVENT
The browser is requested to display a help-echo (tool tip, etc.) message, for example when the pointer passes over an Anchor node. The detail is a SceneHelpEchoDetail object.
 o CLEAR_HELP_ECHO_EVENT
  public final static int CLEAR_HELP_ECHO_EVENT
The browser is requested to remove a help-echo. The detail is a SceneHelpEchoDetail object.
 o LOAD_URL_EVENT
  public final static int LOAD_URL_EVENT
The browser is requested to load a URL. The detail is a SceneLoadURLDetail object.
 o EVENT_OUT_CHANGED_EVENT
  public final static int EVENT_OUT_CHANGED_EVENT
An event out field of a node in the scene has changed. The detail is a Field object.
 o FIELD_CHANGED_EVENT
  public final static int FIELD_CHANGED_EVENT
A field of a node in the scene has changed. The detail is a Field object.
 o EVENT_RECEIVED_EVENT
  public final static int EVENT_RECEIVED_EVENT
An event in was received by a node
 o GET_CURRENT_SPEED_EVENT
  public final static int GET_CURRENT_SPEED_EVENT
The observer is requested to return the current viewpoint speed, if known.
 o GET_CURRENT_FRAME_RATE_EVENT
  public final static int GET_CURRENT_FRAME_RATE_EVENT
The observer is requested to return the current viewpoint speed, if known.

Constructors

 o SceneObserverEvent
  public SceneObserverEvent(int type,
                            Object info)

Methods

 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