|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvrml.eai.field.BaseField
vrml.eai.field.EventIn
vrml.eai.field.EventInMFVec2f
public abstract class EventInMFVec2f
VRML eventIn class for MFVec2f.
| 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 |
EventInMFVec2f()
Construct an instance of this class. |
| Method Summary | |
|---|---|
abstract void |
set1Value(int index,
float[] value)
Set a particular vector value in the given eventIn array. |
abstract void |
setValue(float[][] value)
Set the value of the array of 2D vectors. |
| 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 |
|---|
protected EventInMFVec2f()
| Method Detail |
|---|
public abstract void setValue(float[][] value)
If one or more of the values for value[i] are null then the resulting event that is sent to the VRML scenegraph is implementation dependent but no error indicator will be set here.
value - The array of vec2f values wherejava.lang.ArrayIndexOutOfBoundsException - A value did not contain at least two
values for the vector definition.
public abstract void set1Value(int index,
float[] value)
The value array must contain at least two elements. If the array contains more than 2 values only the first 2 values will be used and the rest ignored.
If the index is out of the bounds of the current array of data values or the array of values does not contain at least 2 elements an ArrayIndexOutOfBoundsException will be generated.
index - The position to set the vector valuevalue - The array of vector values wherejava.lang.ArrayIndexOutOfBoundsException - A value did not contain at least 2
values for the vector
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||