Xj3D 2.0 VRML/X3D Code API

vrml.eai.field
Class EventInSFNode

java.lang.Object
  extended by vrml.eai.field.BaseField
      extended by vrml.eai.field.EventIn
          extended by vrml.eai.field.EventInSFNode

public abstract class EventInSFNode
extends EventIn

VRML eventIn class for SFNode.

Set the value of a node to the given value. The java null reference is treated to be equivalent to the VRML NULL field values.

Calling the set method with a null node reference causes that field to be cleared.

Version:
1.0 30 April 1998

Field Summary
 
Fields inherited from class vrml.eai.field.BaseField
fieldType, MFColor, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2f, MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation, SFString, SFTime, SFVec2f, SFVec3f, UNSET_FIELD
 
Constructor Summary
protected EventInSFNode()
          Construct an instance of this class.
 
Method Summary
abstract  void setValue(Node value)
          Set the node value in the given eventIn.
 
Methods inherited from class vrml.eai.field.EventIn
getUserData, setUserData
 
Methods inherited from class vrml.eai.field.BaseField
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventInSFNode

protected EventInSFNode()
Construct an instance of this class. Calls the superclass constructor with the field type set to SFNode.

Method Detail

setValue

public abstract void setValue(Node value)
                       throws InvalidNodeException
Set the node value in the given eventIn.

If the node reference passed to this method has already had the dispose method called then an InvalidNodeException will be generated.

Parameters:
value - The new node reference to be used.
Throws:
InvalidNodeException - The node reference passed has already been disposed.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium