|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectvrml.Field
vrml.ConstField
vrml.ConstMField
vrml.field.ConstMFString
Constant VRML JSAI type class containing multiple String fields.
| Field Summary | |
protected java.lang.String[] |
data
The data that the field contains |
| Fields inherited from class vrml.ConstMField |
numElements |
| Fields inherited from class vrml.Field |
valueChanged |
| Constructor Summary | |
protected |
ConstMFString()
Construct an instance with default values. |
|
ConstMFString(int size,
java.lang.String[] values)
Construct new constant field based on the subset of the given values. |
|
ConstMFString(java.lang.String[] values)
Construct a new constant field based on all the given values. |
| Method Summary | |
java.lang.Object |
clone()
Make a clone of this object. |
java.lang.String |
get1Value(int index)
Fetch the value at the given array index position |
void |
getValue(java.lang.String[] values)
Copy the values of this array into the user provided array. |
java.lang.String |
toString()
Create a string representation of the field values. |
| Methods inherited from class vrml.ConstMField |
getSize |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String[] data
| Constructor Detail |
protected ConstMFString()
public ConstMFString(java.lang.String[] values)
values - The values to copy
public ConstMFString(int size,
java.lang.String[] values)
size - The number of items to copyvalues - The source values to copy| Method Detail |
public void getValue(java.lang.String[] values)
values - The array to copy data intopublic java.lang.String get1Value(int index)
index - The position to ask the value of
public java.lang.String toString()
public java.lang.Object clone()
clone in class Field
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||