Package vrml.eai.field
Class EventOutMFString
java.lang.Object
vrml.eai.field.BaseField
vrml.eai.field.EventOut
vrml.eai.field.EventOutMField
vrml.eai.field.EventOutMFString
- Direct Known Subclasses:
EventOutMFStringWrapper
VRML eventOut class for MFString.
Strings are represented using standard java.lang.String representations. The implementation of this class will provide any necessary conversions to the UTF8 format required for VRML support.
- Version:
- 1.0 30 April 1998
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class vrml.eai.field.EventOutMField
size
Methods inherited from class vrml.eai.field.EventOut
addVrmlEventListener, getUserData, removeVrmlEventListener, setUserData
-
Constructor Details
-
EventOutMFString
protected EventOutMFString()Construct an instance of this class. The superclass constructor is called with the type MFString
-
-
Method Details
-
getValue
Get the value of the array of strings. Individual elements in the string array may be null depending on the implementation of the browser and whether it maintains null references- Returns:
- The array of strings.
- See Also:
-
getValue
Write the value of the array of the strings to the given array. Individual elements in the string array may be null depending on the implementation of the browser and whether it maintains null references.- Parameters:
value
- The string array to be filled in- Throws:
ArrayIndexOutOfBoundsException
- The provided array was too small
-
get1Value
Get a particular string value in the given eventOut array.If the index is out of the bounds of the current array of data values an ArrayIndexOutOfBoundsException will be generated. If the array reference was null when set, an empty string will be returned to the caller.
- Parameters:
index
- The position to get the string value from- Returns:
- The string value
- Throws:
ArrayIndexOutOfBoundsException
- The index value was out of bounds of the current array.- See Also:
-