Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

vrml.external.field
Class EventInMFNode  view EventInMFNode download EventInMFNode.java

java.lang.Object
  extended byvrml.external.field.EventIn
      extended byvrml.external.field.EventInMFNode

public class EventInMFNode
extends EventIn

Set the values of a node array to the given values. The java null reference is treated to be equivalent to the VRML NULL field values. In the cases where this eventIn is used to represent eventIn MFNode fields such as addChildren and removeChildren calling the set methods with a zero length array or null will result in nothing happening. No event will be propogated to the VRML browser scenegraph (although the browser native code may receive this information internally). Where this eventIn is used to represent exposedFields such as the children field of grouping nodes calling the set methods with null or zero length arrays will result in that field being cleared of all its children. If the eventIn is constructed from an exposedField where the set_ modifier has been specified this shall be treated as though a normal exposedField has been called. It is legal to construct an array where some members of the array are null pointers. Due to no specification on the intended result in the VRML specification, the response given by the browser is implementation dependent. Calls will not generate an exception, but the value of actual event passed to the scenegraph may vary until the issue is resolved.


Constructor Summary
EventInMFNode()
           
 
Method Summary
 void set1Value(int index, vrml.external.Node value)
           
 void setValue(vrml.external.Node[] value)
           
 
Methods inherited from class vrml.external.field.EventIn
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventInMFNode

public EventInMFNode()
Method Detail

set1Value

public void set1Value(int index,
                      vrml.external.Node value)

setValue

public void setValue(vrml.external.Node[] value)