Package vrml.field
Class ConstMFString
java.lang.Object
vrml.Field
vrml.ConstField
vrml.ConstMField
vrml.field.ConstMFString
- All Implemented Interfaces:
Cloneable
Constant VRML JSAI type class containing multiple String fields.
- Version:
- $Revision: 1.6 $
- Author:
- Alan Hudson, Justin Couch
-
Field Summary
FieldsFields inherited from class vrml.ConstMField
numElements
Fields inherited from class vrml.Field
valueChanged
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Construct an instance with default values.ConstMFString
(int size, String[] values) Construct new constant field based on the subset of the given values.ConstMFString
(String[] values) Construct a new constant field based on all the given values. -
Method Summary
Methods inherited from class vrml.ConstMField
getSize
-
Field Details
-
data
The data that the field contains
-
-
Constructor Details
-
ConstMFString
protected ConstMFString()Construct an instance with default values. Not available to mere mortals. -
ConstMFString
Construct a new constant field based on all the given values.- Parameters:
values
- The values to copy
-
ConstMFString
Construct new constant field based on the subset of the given values.- Parameters:
size
- The number of items to copyvalues
- The source values to copy
-
-
Method Details
-
getValue
Copy the values of this array into the user provided array.- Parameters:
values
- The array to copy data into
-
get1Value
Fetch the value at the given array index position- Parameters:
index
- The position to ask the value of- Returns:
- The value at that position
-
toString
-
clone
-