j3d-vrml97-0.1.0

vrml.node
Class Node

java.lang.Object
  extended by vrml.BaseNode
      extended by vrml.node.Node
Direct Known Subclasses:
Background, Fog, Light, Viewpoint

public class Node
extends BaseNode

This is the basic interface for all VRML nodes. All VRML fields are accessed through the field methods. New nodes are created through the Browser using the load and create methods.

Subclasses of Node exist only when the subclass give additional functionality, such as exposing additional parts of the Java3D implemenation for the node.

See Also:
Browser

Field Summary
protected  Node implNode
          Description of the Field
 
Fields inherited from class vrml.BaseNode
implBaseNode
 
Constructor Summary
Node(Node init)
          This is an internal constructor.
 
Method Summary
 Object clone()
          Description of the Method
 Browser getBrowser()
          Returns the Browser which created this node.
 Field getEventIn(String eventInName)
          Returns an EventIn field
 ConstField getEventOut(String eventOutName)
          Returns an EventOut field
 Field getExposedField(String fieldName)
          Returns an ExposedField field
protected  BaseNode getImpl()
          Gets the impl attribute of the Node object
 String getType()
          Returns the VRML class type for the node.
 
Methods inherited from class vrml.BaseNode
browserImpl, getImplNode
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

implNode

protected Node implNode
Description of the Field

Constructor Detail

Node

public Node(Node init)
This is an internal constructor. Nodes are only created by the Browser or Loader.

Parameters:
init - Description of the Parameter
Method Detail

getExposedField

public final Field getExposedField(String fieldName)
                            throws InvalidExposedFieldException
Returns an ExposedField field

Parameters:
fieldName - Description of the Parameter
Returns:
The exposedField value
Throws:
InvalidExposedFieldException - Description of the Exception

getEventIn

public final Field getEventIn(String eventInName)
                       throws InvalidEventInException
Returns an EventIn field

Parameters:
eventInName - Description of the Parameter
Returns:
The eventIn value
Throws:
InvalidEventInException - Description of the Exception

getEventOut

public ConstField getEventOut(String eventOutName)
                       throws InvalidEventOutException
Returns an EventOut field

Parameters:
eventOutName - Description of the Parameter
Returns:
The eventOut value
Throws:
InvalidEventOutException - Description of the Exception

getType

public String getType()
Returns the VRML class type for the node.

Specified by:
getType in class BaseNode
Returns:
The type value

clone

public Object clone()
Description of the Method

Overrides:
clone in class Object
Returns:
Description of the Return Value

getBrowser

public Browser getBrowser()
Returns the Browser which created this node.

Specified by:
getBrowser in class BaseNode
Returns:
The browser value

getImpl

protected BaseNode getImpl()
Gets the impl attribute of the Node object

Overrides:
getImpl in class BaseNode
Returns:
The impl value

j3d-vrml97-0.1.0

Todo: put BSD License reference here..