vrml.external.field
Class EventOut

java.lang.Object
  |
  +--vrml.external.field.EventOut
Direct Known Subclasses:
EventOutMField, EventOutSFBool, EventOutSFColor, EventOutSFFloat, EventOutSFImage, EventOutSFInt32, EventOutSFNode, EventOutSFRotation, EventOutSFString, EventOutSFTime, EventOutSFVec2f, EventOutSFVec3f

public class EventOut
extends java.lang.Object
implements GotEventCallback


Field Summary
protected  Field eventout_
          VRwave implementation. do not call from applets
protected  java.util.Vector eventoutobs_
           
protected  int fieldtype_
           
protected  Scene scene_
           
protected  java.util.Vector userdata_
           
 
Constructor Summary
EventOut()
           
 
Method Summary
 void advise(EventOutObserver f, java.lang.Object userData)
          Mechanism for setting up an observer for this field.
 int getType()
          Get the type of this EventOut (specified in FieldTypes.java).
 void gotEventCB(Field field, double timestamp)
           
 void initialize(Field eventout, int fieldtype, Scene scene)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventout_

protected Field eventout_
VRwave implementation. do not call from applets

scene_

protected Scene scene_

fieldtype_

protected int fieldtype_

eventoutobs_

protected java.util.Vector eventoutobs_

userdata_

protected java.util.Vector userdata_
Constructor Detail

EventOut

public EventOut()
Method Detail

getType

public int getType()
Get the type of this EventOut (specified in FieldTypes.java).

advise

public void advise(EventOutObserver f,
                   java.lang.Object userData)
Mechanism for setting up an observer for this field. The EventOutObserver's callback gets called when the EventOut's value changes.

initialize

public void initialize(Field eventout,
                       int fieldtype,
                       Scene scene)

gotEventCB

public void gotEventCB(Field field,
                       double timestamp)
Specified by:
gotEventCB in interface GotEventCallback