Package vrml
Class MField
java.lang.Object
vrml.Field
vrml.MField
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
The number of elements registered in this classFields inherited from class vrml.Field
valueChanged
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
numElements
protected int numElementsThe number of elements registered in this class
-
-
Constructor Details
-
MField
public MField()
-
-
Method Details
-
getSize
public int getSize()Get the number of elements in the current field- Returns:
- The number of elements
-
clear
public abstract void clear()Clear all values from this field. Leaves the size of the field empty -
delete
public abstract void delete(int index) Delete the element at the given index. All elements above it are shuffled down to take its place- Parameters:
index
- the index of the element to delete
-