Package org.web3d.vrml.scripting.sai
Interface FieldFactory
- All Known Implementing Classes:
DefaultFieldFactory
public interface FieldFactory
Factory abstract interface for generating field objects from a given node.
The idea of this factory is to break a circular compile dependency between SF/MFNode and all the field classes.
- Version:
- $Revision: 1.3 $
- Author:
- Justin Couch
-
Method Summary
Modifier and TypeMethodDescriptionorg.web3d.vrml.scripting.sai.BaseField
createField
(VRMLNodeType node, String field, boolean checkEventIn, boolean internal, ReferenceQueue<X3DField> fieldQueue, BaseNodeFactory baseNodeFac) Create a field given a name from the node.
-
Method Details
-
createField
org.web3d.vrml.scripting.sai.BaseField createField(VRMLNodeType node, String field, boolean checkEventIn, boolean internal, ReferenceQueue<X3DField> fieldQueue, BaseNodeFactory baseNodeFac) Create a field given a name from the node.- Parameters:
node
- The node to create the field fromfield
- The name of the field to fetchcheckEventIn
- true if we should check for an event ininternal
- true if this represents an internal field definitionfieldQueue
- The access listener for propagating s2 requestsbaseNodeFac
- The factory used to create node wrappers- Returns:
- An instance of the field class representing the field
-