Package org.web3d.x3d.sai
Interface SFNode
- All Superinterfaces:
X3DField
Representation of a SFNode field.
Get the value of a node. The java null
reference is treated to
be equivalent to the VRML NULL
field values. If the node field
contains a NULL reference then reading this eventOut will result in a
java null being returned.
- Version:
- 1.0 30 April 1998
-
Method Summary
Methods inherited from interface org.web3d.x3d.sai.X3DField
addX3DEventListener, getDefinition, getUserData, isReadable, isWritable, removeX3DEventListener, setUserData
-
Method Details
-
getValue
X3DNode getValue()Get the node value in the given eventOut. If no node reference is set then null is returned to the user.- Returns:
- The new node reference set.
-
setValue
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.
-