Package vrml.eai.field
Class EventInMFFloat
java.lang.Object
vrml.eai.field.BaseField
vrml.eai.field.EventIn
vrml.eai.field.EventInMFFloat
- Direct Known Subclasses:
EventInMFFloatWrapper
VRML eventIn class for MFFloat.
- 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
-
EventInMFFloat
protected EventInMFFloat()Construct an instance of this class. Calls the superclass constructor with the type MFFloat
-
-
Method Details
-
setValue
public abstract void setValue(float[] value) Set the value of the eventIn to the new array of float values. This array is copied internally so that the parameter array can be reused without effecting the valid values of the eventIn.- Parameters:
value
- The array of values to be used.
-
set1Value
Set the value of an individual item in the eventIn's value. This results in a new event being generated that includes all of the array items with the single element set. 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
-