|
|||||||||
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.ConstMFBool
public class ConstMFBool
Represents a read-only VRML MFBool field in Java.
Constructor Summary | |
---|---|
ConstMFBool(boolean[] values)
Construct a read-only MFBool field. |
|
ConstMFBool(int size,
boolean[] values)
Construct a read-only MFBool field. |
Method Summary | |
---|---|
boolean |
get1Value(int index)
Retrieve a particular element from an MFBool field. |
int |
getSize()
Number of elements contained in the MField. |
void |
getValue(boolean[] values)
Retrieves the complete list of booleans making up an MFBool 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 ConstMFBool(int size, boolean[] values)
size
- Number of booleans to initialize object with.values
- List of booleans to initialize object with.public ConstMFBool(boolean[] values)
values
- List of booleans to initialize object with.Method Detail |
---|
public int getSize()
ConstMField
getSize
in class ConstMField
public void getValue(boolean[] values)
values
- Array to put resulting list of booleans in.public boolean get1Value(int index)
index
- Position of desired element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |