Package org.web3d.x3d.sai
Class X3DFieldEvent
java.lang.Object
java.util.EventObject
org.web3d.x3d.sai.X3DFieldEvent
- All Implemented Interfaces:
java.io.Serializable
public class X3DFieldEvent
extends java.util.EventObject
The event type is implemented as the class X3DFieldEvent. This class contains methods for obtaining the source of the event, the time (in X3D time) and any user defined data that occurred with the event.
Package hint: This specification class is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This specification class is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.ObjecteventDataObjectPassed field data for this eventprotected doubletimeStampThe time stamp, in X3D time, that this event occurred at -
Constructor Summary
Constructors Constructor Description X3DFieldEvent(java.lang.Object sourceField, double newTimeStamp, java.lang.Object neweventDataObject)Construct a new X3DFieldEvent instance. -
Method Summary
-
Field Details
-
timeStamp
protected double timeStampThe time stamp, in X3D time, that this event occurred at -
eventDataObject
protected java.lang.Object eventDataObjectPassed field data for this event
-
-
Constructor Details
-
X3DFieldEvent
public X3DFieldEvent(java.lang.Object sourceField, double newTimeStamp, java.lang.Object neweventDataObject)Construct a new X3DFieldEvent instance.- Parameters:
sourceField- The source field that generated this eventnewTimeStamp- The timestamp of the event, in X3D timeneweventDataObject- Any user associated data with this event
-
-
Method Details