Package org.web3d.vrml.scripting.jsai
Class JSAINode
java.lang.Object
vrml.BaseNode
vrml.node.Node
org.web3d.vrml.scripting.jsai.JSAINode
Local wrapper for the JSAI Node class.
- Version:
- $Revision: 1.6 $
- Author:
- Justin Couch
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionJSAINode(VRMLNodeType node, Browser b, FieldFactory factory) Construct a new node instance based on the underlying VRML node -
Method Summary
Modifier and TypeMethodDescriptionprotected ConstFieldcreateConstField(String name) Create a constant field that represents an eventOut.protected FieldcreateField(String name, boolean checkEventIn) Create a field given a name.Methods inherited from class vrml.node.Node
getEventIn, getEventOut, getExposedFieldMethods inherited from class vrml.BaseNode
getBrowser, getImplNode, getType
-
Constructor Details
-
JSAINode
Construct a new node instance based on the underlying VRML node- Parameters:
node- The node to useb- The browser to use with this nodefactory- The Factory used to create fields- Throws:
NullPointerException- The node reference was null
-
-
Method Details
-
createField
Create a field given a name.- Specified by:
createFieldin classNode- Parameters:
name- The name of the field to fetchcheckEventIn- true if we should check for an event in- Returns:
- An instance of the field class representing the field
-
createConstField
Create a constant field that represents an eventOut.- Specified by:
createConstFieldin classNode- Parameters:
name- The name of the field to fetch- Returns:
- An instance of the field class representing the field
-