|
|||||||||
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.ConstMFNode
public class ConstMFNode
Represents a read-only VRML MFNode field in Java.
Constructor Summary | |
---|---|
ConstMFNode(BaseNode[] nodes)
Construct a read-only MFNode field. |
|
ConstMFNode(int size,
BaseNode[] nodes)
Construct a read-only MFNode field. |
Method Summary | |
---|---|
BaseNode |
get1Value(int index)
Retrieves a specific BaseNode from an MFNode. |
int |
getSize()
Number of elements contained in the MField. |
void |
getValue(BaseNode[] nodes)
Retrieves the value of an MFNode 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 ConstMFNode(int size, BaseNode[] nodes)
size
- Number of elements passed in.nodes
- Array of BaseNodes.public ConstMFNode(BaseNode[] nodes)
nodes
- Array of BaseNodes.Method Detail |
---|
public int getSize()
ConstMField
getSize
in class ConstMField
public void getValue(BaseNode[] nodes)
nodes
- Array of BaseNodes to be returned.public BaseNode get1Value(int index)
index
- Position of desired BaseNode.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |