Class SAIStringSensor
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.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
-
Constructor Summary
ConstructorsConstructorDescriptionSAIStringSensor(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) 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.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, 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, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
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.
-