wobs.scene3d.player
Class X3DFieldEvent

java.lang.Object
  extended by java.util.EventObject
      extended by wobs.scene3d.player.X3DFieldEvent
All Implemented Interfaces:
java.io.Serializable

public class X3DFieldEvent
extends java.util.EventObject

An event which indicates that a modification has occurred in a field. This event is generated by a X3D field when the state of the field has been changed through any means. The event is passed to every X3DFieldEventListener object that registered to receive such events using the X3DField's addFieldEventListener method. The object that implements the X3DFieldEventListener interface receives the X3DFieldEvent when the event occurs.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 X3DField getSourceField()
          Retrieves the source field of this event, which is the field that has generated the event.
 double getTime()
          Retrieves the time when this event occured.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTime

public double getTime()
Retrieves the time when this event occured.

Returns:
the event time

getSourceField

public X3DField getSourceField()
Retrieves the source field of this event, which is the field that has generated the event.

Returns:
the field data