Class SAIScript
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.scripting.SAIScript
- All Implemented Interfaces:
Script,X3DChildNode,X3DNode,X3DScriptNode,X3DUrlObject
A concrete implementation of the Script node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAIScript(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the directOutput boolean value.booleanReturn the mustEvaluate boolean value.intReturn the number of MFString items in the url field.voidReturn the url value in the argument String[]voidsetDirectOutput(boolean val) Set the directOutput field.voidsetMustEvaluate(boolean val) Set the mustEvaluate field.voidSet the url field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIScript
public SAIScript(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getNumUrl
public int getNumUrl()Return the number of MFString items in the url field.- Specified by:
getNumUrlin interfaceX3DUrlObject- Returns:
- the number of MFString items in the url field.
-
getUrl
Return the url value in the argument String[]- Specified by:
getUrlin interfaceX3DUrlObject- Parameters:
val- The String[] to initialize.
-
setUrl
Set the url field.- Specified by:
setUrlin interfaceX3DUrlObject- Parameters:
val- The String[] to set.
-
getMustEvaluate
public boolean getMustEvaluate()Return the mustEvaluate boolean value.- Specified by:
getMustEvaluatein interfaceScript- Returns:
- The mustEvaluate boolean value.
-
setMustEvaluate
public void setMustEvaluate(boolean val) Set the mustEvaluate field.- Specified by:
setMustEvaluatein interfaceScript- Parameters:
val- The boolean to set.
-
getDirectOutput
public boolean getDirectOutput()Return the directOutput boolean value.- Specified by:
getDirectOutputin interfaceScript- Returns:
- The directOutput boolean value.
-
setDirectOutput
public void setDirectOutput(boolean val) Set the directOutput field.- Specified by:
setDirectOutputin interfaceScript- Parameters:
val- The boolean to set.
-