Class SAIStringSensor
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.keydevicesensor.SAIStringSensor
- All Implemented Interfaces:
StringSensor,X3DChildNode,X3DKeyDeviceSensorNode,X3DNode,X3DSensorNode
A concrete implementation of the StringSensor 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
ConstructorsConstructorDescriptionSAIStringSensor(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the deletionAllowed boolean value.booleanReturn the enabled boolean value.Return the enteredText String value.Return the finalText String value.booleanReturn the isActive boolean value.voidsetDeletionAllowed(boolean val) Set the deletionAllowed field.voidsetEnabled(boolean val) Set the enabled 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
-
SAIStringSensor
public SAIStringSensor(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
Method Details
-
getEnabled
public boolean getEnabled()Return the enabled boolean value.- Specified by:
getEnabledin interfaceX3DSensorNode- Returns:
- The enabled boolean value.
-
setEnabled
public void setEnabled(boolean val) Set the enabled field.- Specified by:
setEnabledin interfaceX3DSensorNode- Parameters:
val- The boolean to set.
-
getIsActive
public boolean getIsActive()Return the isActive boolean value.- Specified by:
getIsActivein interfaceX3DSensorNode- Returns:
- The isActive boolean value.
-
getDeletionAllowed
public boolean getDeletionAllowed()Return the deletionAllowed boolean value.- Specified by:
getDeletionAllowedin interfaceStringSensor- Returns:
- The deletionAllowed boolean value.
-
setDeletionAllowed
public void setDeletionAllowed(boolean val) Set the deletionAllowed field.- Specified by:
setDeletionAllowedin interfaceStringSensor- Parameters:
val- The boolean to set.
-
getEnteredText
Return the enteredText String value.- Specified by:
getEnteredTextin interfaceStringSensor- Returns:
- The enteredText String value.
-
getFinalText
Return the finalText String value.- Specified by:
getFinalTextin interfaceStringSensor- Returns:
- The finalText String value.
-