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 TypeMethodDescriptionboolean
Return the directOutput boolean value.boolean
Return the mustEvaluate boolean value.int
Return the number of MFString items in the url field.void
Return the url value in the argument String[]void
setDirectOutput
(boolean val) Set the directOutput field.void
setMustEvaluate
(boolean val) Set the mustEvaluate field.void
Set 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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getNumUrl
in interfaceX3DUrlObject
- Returns:
- the number of MFString items in the url field.
-
getUrl
Return the url value in the argument String[]- Specified by:
getUrl
in interfaceX3DUrlObject
- Parameters:
val
- The String[] to initialize.
-
setUrl
Set the url field.- Specified by:
setUrl
in interfaceX3DUrlObject
- Parameters:
val
- The String[] to set.
-
getMustEvaluate
public boolean getMustEvaluate()Return the mustEvaluate boolean value.- Specified by:
getMustEvaluate
in interfaceScript
- Returns:
- The mustEvaluate boolean value.
-
setMustEvaluate
public void setMustEvaluate(boolean val) Set the mustEvaluate field.- Specified by:
setMustEvaluate
in interfaceScript
- Parameters:
val
- The boolean to set.
-
getDirectOutput
public boolean getDirectOutput()Return the directOutput boolean value.- Specified by:
getDirectOutput
in interfaceScript
- Returns:
- The directOutput boolean value.
-
setDirectOutput
public void setDirectOutput(boolean val) Set the directOutput field.- Specified by:
setDirectOutput
in interfaceScript
- Parameters:
val
- The boolean to set.
-