Package vrml.eai.field
Class EventInMFInt32
java.lang.Object
vrml.eai.field.BaseField
vrml.eai.field.EventIn
vrml.eai.field.EventInMFInt32
- Direct Known Subclasses:
EventInMFInt32Wrapper
VRML eventIn class for MFInt32.
- Version:
- 1.0 30 April 1998
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class vrml.eai.field.EventIn
getUserData, setUserData
-
Constructor Details
-
EventInMFInt32
protected EventInMFInt32()Construct an instance of this class. The superclass is called with the type set to MFInt32.
-
-
Method Details
-
setValue
public abstract void setValue(int[] value) Set the value of the array of integers. If the value array is length zero this is equivalent of clearing the field.- Parameters:
value
- The array of values to be set.
-
set1Value
Set a particular value in the given eventIn array. To the VRML world this will generate a full MFInt32 event with the nominated index value changed.If the index is out of the bounds of the current array of data values an ArrayIndexOutOfBoundsException will be generated.
- Parameters:
index
- The position to set the colour valuevalue
- The value to be set.- Throws:
ArrayIndexOutOfBoundsException
- A value did not contain at least three values for the colour component
-