|
|||||||||
| 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.ConstMFInt32
public class ConstMFInt32
Represents a read-only VRML MFInt32 field in Java.
| Constructor Summary | |
|---|---|
ConstMFInt32(int[] values)
Construct a read-only MFInt32 field. |
|
ConstMFInt32(int size,
int[] values)
Construct a read-only MFInt32 field. |
|
| Method Summary | |
|---|---|
int |
get1Value(int index)
Retrieve a particular element from an MFInt32 field. |
int |
getSize()
Number of elements contained in the MField. |
void |
getValue(int[] values)
Retrieves the complete list of integers making up an MFInt32 field. |
| Methods inherited from class vrml.ConstField |
|---|
clone |
| Methods inherited from class vrml.Field |
|---|
dispose, finalize, getPeer, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConstMFInt32(int size,
int[] values)
size - Number of integers to initialize object with.values - List of integers to initialize object with.public ConstMFInt32(int[] values)
values - List of integers to initialize object with.| Method Detail |
|---|
public int getSize()
ConstMField
getSize in class ConstMFieldpublic void getValue(int[] values)
values - Array to put resulting list of integers in.public int get1Value(int index)
index - Position of desired element.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||