vrml
Class MField

java.lang.Object
  extended by vrml.Field
      extended by vrml.MField
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
MFBool, MFColor, MFDouble, MFFloat, MFInt32, MFNode, MFRotation, MFString, MFTime, MFVec2d, MFVec2f, MFVec3d, MFVec3f

public abstract class MField
extends Field

Parent class of all MFields.


Constructor Summary
MField(long peer)
           
 
Method Summary
abstract  void clear()
          Removes all fields from the MField.
abstract  void delete(int index)
          Deletes a field from the MField.
abstract  int getSize()
          Number of elements contained in the MField.
 
Methods inherited from class vrml.Field
clone, dispose, finalize, getPeer, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MField

public MField(long peer)
Method Detail

getSize

public abstract int getSize()
Number of elements contained in the MField.

Returns:
Number of elements.

clear

public abstract void clear()
Removes all fields from the MField.


delete

public abstract void delete(int index)
Deletes a field from the MField.

Parameters:
index - Index of field to delete.