vrml.node
Class Node

java.lang.Object
  extended by vrml.BaseNode
      extended by vrml.node.Node

public abstract class Node
extends BaseNode

The general node class.


Constructor Summary
Node(long peer)
           
 
Method Summary
 Field getEventIn(java.lang.String eventInName)
          Get an EventIn by name.
 ConstField getEventOut(java.lang.String eventOutName)
          Get an EventOut by name.
 Field getExposedField(java.lang.String exposedFieldName)
          Get an exposed field by name.
 java.lang.String toString()
          Returns a string representation of the node.
 
Methods inherited from class vrml.BaseNode
dispose, finalize, getBrowser, getType
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node(long peer)
Method Detail

getEventIn

public final Field getEventIn(java.lang.String eventInName)
                       throws InvalidEventInException
Get an EventIn by name. Return value is write-only.

Parameters:
eventInName - Name of eventIn to retrieve.
Returns:
Write-only eventIn field.
Throws:
InvalidEventInException - Invalid eventIn name specified.

getEventOut

public final ConstField getEventOut(java.lang.String eventOutName)
                             throws InvalidEventOutException
Get an EventOut by name. Return value is read-only.

Parameters:
eventOutName - Name of eventOut to retrieve.
Returns:
Read-only eventOut field.
Throws:
InvalidEventOutException - Invalid eventOut name specified.

getExposedField

public final Field getExposedField(java.lang.String exposedFieldName)
                            throws InvalidExposedFieldException
Get an exposed field by name.

Parameters:
exposedFieldName - Name of exposedField to retrieve.
Returns:
Exposed field specified by name.
Throws:
InvalidExposedFieldException - if exposedField name is invalid.

toString

public java.lang.String toString()
Description copied from class: BaseNode
Returns a string representation of the node.

Overrides:
toString in class BaseNode
Returns:
a string representation of the node.