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
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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_
EventOut
public EventOut()
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