Class dnx.lr.MFNode
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dnx.lr.MFNode

java.lang.Object
   |
   +----dnx.util.DNXObject
           |
           +----dnx.lr.Field
                   |
                   +----dnx.lr.MField
                           |
                           +----dnx.lr.MFNode

public class MFNode
extends MField

Constructor Index

 o MFNode()
 o MFNode(Node)
 o MFNode(NodeList)
 o MFNode(SFNode)

Method Index

 o addValue(MFNode)
 o addValue(Node)
 o addValue(NodeList)
 o addValue(SFNode)
 o clear()
 o clone(Node)
This is used, among other things, when a new node is created -- the fields representing the default values (which are stored in the NodeDefinition) are cloned to produce the fields in a Node.
 o copy(Field)
 o copy(MFNode)
 o enumerate()
 o equals(MFNode)
 o equals(Object)
 o free()
 o getIndex(Node)
 o getPrimitiveValue(int)
 o getValue(int)
Return the value at index
 o insertValue(int, MFNode)
 o insertValue(int, Node)
 o insertValue(int, NodeList)
 o insertValue(int, SFNode)
 o print(PrintAction)
 o readInternal(ReadAction)
Implementation of read().
 o remove(int)
 o remove(MFNode)
 o remove(Node)
 o remove(NodeList)
 o remove(SFNode)
 o setValue(int, Node)
 o setValue(int, SFNode)
 o setValue(Node)
 o setValue(NodeList)
 o setValue(SFNode)
 o size()

Constructors

 o MFNode
  public MFNode()
 o MFNode
  public MFNode(Node n)
 o MFNode
  public MFNode(SFNode f)
 o MFNode
  public MFNode(NodeList li)

Methods

 o free
  public void free()
Overrides:
free in class Field
 o size
  public int size()
 o getValue
  public Node getValue(int index)
Return the value at index
 o getPrimitiveValue
  public Node getPrimitiveValue(int index)
 o enumerate
  public Enumeration enumerate()
 o equals
  public boolean equals(MFNode f)
 o equals
  public boolean equals(Object o)
Overrides:
equals in class Object
 o clear
  public void clear()
 o addValue
  public void addValue(Node n)
 o addValue
  public void addValue(SFNode f)
 o addValue
  public void addValue(NodeList list)
 o addValue
  public void addValue(MFNode f)
 o insertValue
  public void insertValue(int index,
                          Node n)
 o insertValue
  public void insertValue(int index,
                          SFNode n)
 o insertValue
  public void insertValue(int index,
                          NodeList n)
 o insertValue
  public void insertValue(int index,
                          MFNode n)
 o remove
  public void remove(int index)
 o remove
  public void remove(Node n)
 o remove
  public void remove(SFNode f)
 o remove
  public void remove(NodeList n)
 o remove
  public void remove(MFNode f)
 o getIndex
  public int getIndex(Node n)
 o setValue
  public void setValue(Node n)
 o setValue
  public void setValue(SFNode f)
 o setValue
  public void setValue(NodeList list)
 o setValue
  public void setValue(int index,
                       Node n)
 o setValue
  public void setValue(int index,
                       SFNode f)
 o copy
  public void copy(MFNode f)
 o copy
  public void copy(Field f)
Overrides:
copy in class Field
 o readInternal
  protected void readInternal(ReadAction a) throws IOException, VRMLSyntaxException
Implementation of read().
Overrides:
readInternal in class Field
 o print
  public void print(PrintAction a)
Overrides:
print in class Field
 o clone
  public Object clone(Node owner)
This is used, among other things, when a new node is created -- the fields representing the default values (which are stored in the NodeDefinition) are cloned to produce the fields in a Node.
Overrides:
clone in class Field

All Packages  Class Hierarchy  This Package  Previous  Next  Index