|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.scripting.jsai.JSAIFieldFactory
public class JSAIFieldFactory
Factory class for generating fields from a given node.
| Constructor Summary | |
|---|---|
JSAIFieldFactory()
|
|
| Method Summary | |
|---|---|
ConstField |
createConstField(VRMLNodeType node,
java.lang.String fieldName)
Create a constant field that represents an eventOut. |
Field |
createField(VRMLNodeType node,
java.lang.String name,
boolean checkEventIn)
Create a field given a name from the node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSAIFieldFactory()
| Method Detail |
|---|
public Field createField(VRMLNodeType node,
java.lang.String name,
boolean checkEventIn)
createField in interface FieldFactorynode - The node to create the field fromname - The name of the field to fetchcheckEventIn - true if we should check for an event in
InvalidEventInException - The field is not an eventIn
InvalidExposedFieldException - The field is not an exposedField
public ConstField createConstField(VRMLNodeType node,
java.lang.String fieldName)
createConstField in interface FieldFactorynode - The node to create the field fromfieldName - The name of the field to fetch
InvalidEventInException - The field is not an eventOut
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||