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