|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MField
X3D base interface for MF field values.
Class provides a size method that determines the number of items available in this array of values. Normally used in conjunction with the get1Value() method of the MF field classes so that exceptions are not generated.
It is possible, although not recommended, that the size of the arrays returned by the get methods may be larger than the actual amount of data that is to be represented. Calling size() beforehand ensures that the correct number of items in the array will be read.
| Method Summary | |
|---|---|
int |
getSize()
Get the size of the underlying data array. |
| Methods inherited from interface org.web3d.x3d.sai.X3DField |
|---|
addX3DEventListener, getDefinition, getUserData, isReadable, isWritable, removeX3DEventListener, setUserData |
| Method Detail |
|---|
int getSize()
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||