j3d-vrml97-0.1.0

org.jdesktop.j3d.loaders.vrml97.impl
Class Proto

java.lang.Object
  extended by org.jdesktop.j3d.loaders.vrml97.impl.Proto
All Implemented Interfaces:
Namespace

public class Proto
extends Object
implements Namespace

Description of the Class


Field Summary
 Hashtable FieldSpec
          Description of the Field
 
Method Summary
 void addObject(BaseNode node)
          Adds a feature to the Object attribute of the Proto object
 void addRoute(BaseNode fromNode, String fromEventOut, BaseNode toNode, String toEventIn)
          Adds a feature to the Route attribute of the Proto object
 void define(String defName, BaseNode node)
          Description of the Method
 ProtoInstance instance()
          Description of the Method
 void setEventIn(String eventInName, Field f)
          Sets the eventIn attribute of the Proto object
 void setEventOut(String eventOutName, Field f)
          Sets the eventOut attribute of the Proto object
 void setExposedField(String fieldName, Field f)
          Sets the exposedField attribute of the Proto object
 void setField(String fieldName, Field f)
          Sets the field attribute of the Proto object
 boolean setupEventIsMap(Node node, String nodeEventName, String protoFieldName)
          Description of the Method
 String toString()
          Description of the Method
 BaseNode use(String defName)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FieldSpec

public Hashtable FieldSpec
Description of the Field

Method Detail

define

public void define(String defName,
                   BaseNode node)
Description of the Method

Specified by:
define in interface Namespace
Parameters:
defName - Description of the Parameter
node - Description of the Parameter

use

public BaseNode use(String defName)
Description of the Method

Specified by:
use in interface Namespace
Parameters:
defName - Description of the Parameter
Returns:
Description of the Return Value

addRoute

public void addRoute(BaseNode fromNode,
                     String fromEventOut,
                     BaseNode toNode,
                     String toEventIn)
Adds a feature to the Route attribute of the Proto object

Parameters:
fromNode - The feature to be added to the Route attribute
fromEventOut - The feature to be added to the Route attribute
toNode - The feature to be added to the Route attribute
toEventIn - The feature to be added to the Route attribute

setupEventIsMap

public boolean setupEventIsMap(Node node,
                               String nodeEventName,
                               String protoFieldName)
Description of the Method

Parameters:
node - Description of the Parameter
nodeEventName - Description of the Parameter
protoFieldName - Description of the Parameter
Returns:
Description of the Return Value

addObject

public void addObject(BaseNode node)
Adds a feature to the Object attribute of the Proto object

Parameters:
node - The feature to be added to the Object attribute

instance

public ProtoInstance instance()
Description of the Method

Returns:
Description of the Return Value

setEventIn

public void setEventIn(String eventInName,
                       Field f)
Sets the eventIn attribute of the Proto object

Parameters:
eventInName - The new eventIn value
f - The new eventIn value

setEventOut

public void setEventOut(String eventOutName,
                        Field f)
Sets the eventOut attribute of the Proto object

Parameters:
eventOutName - The new eventOut value
f - The new eventOut value

setField

public void setField(String fieldName,
                     Field f)
Sets the field attribute of the Proto object

Parameters:
fieldName - The new field value
f - The new field value

setExposedField

public void setExposedField(String fieldName,
                            Field f)
Sets the exposedField attribute of the Proto object

Parameters:
fieldName - The new exposedField value
f - The new exposedField value

toString

public String toString()
Description of the Method

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

j3d-vrml97-0.1.0

Todo: put BSD License reference here..