|
|||||||||
| 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.ConstMFFloat
public class ConstMFFloat
Represents a read-only VRML MFFloat field in Java.
| Constructor Summary | |
|---|---|
ConstMFFloat(float[] values)
Construct a read-only MFFloat field. |
|
ConstMFFloat(int size,
float[] values)
Construct a read-only MFFloat field. |
|
| Method Summary | |
|---|---|
float |
get1Value(int index)
Retrieves a specific SFFloat element in an MFFloat and returns it as a float. |
int |
getSize()
Number of elements contained in the MField. |
void |
getValue(float[] values)
Retrieves the value of an MFFloat 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 ConstMFFloat(int size,
float[] values)
size - Number of SFFloat elements passed in.values - Array of SFFloat values.public ConstMFFloat(float[] values)
values - An array of SFFloat values.| Method Detail |
|---|
public int getSize()
ConstMField
getSize in class ConstMFieldpublic void getValue(float[] values)
values - Array of float values to be returned.public float get1Value(int index)
index - Position of desired SFFloat
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||