Package org.web3d.x3d.sai
Class X3DFieldEvent
java.lang.Object
java.util.EventObject
org.web3d.x3d.sai.X3DFieldEvent
- All Implemented Interfaces:
Serializable
The event that is generated when a field changes value.
- Version:
- $Revision: 1.3 $
- Author:
- Justin Couch
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double
The timestamp, in VRML time, that this occurred atprotected Object
User associated dataFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionX3DFieldEvent
(Object src, double ts, Object data) Construct a new event instance. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
timestamp
protected double timestampThe timestamp, in VRML time, that this occurred at -
userData
User associated data
-
-
Constructor Details
-
X3DFieldEvent
-
-
Method Details
-
getTime
public double getTime()Get the timestamp that this event occurred at- Returns:
- The time of this event, in VRML time coordinates.
-
getData
Get any user associated data with this eventIn/Out.- Returns:
- A reference to user associated data
-