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 TypeMethodDescriptionboolean
Return the deletionAllowed boolean value.boolean
Return the enabled boolean value.Return the enteredText String value.Return the finalText String value.boolean
Return the isActive boolean value.void
setDeletionAllowed
(boolean val) Set the deletionAllowed field.void
setEnabled
(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, setMetadata
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getEnabled
in interfaceX3DSensorNode
- Returns:
- The enabled boolean value.
-
setEnabled
public void setEnabled(boolean val) Set the enabled field.- Specified by:
setEnabled
in interfaceX3DSensorNode
- Parameters:
val
- The boolean to set.
-
getIsActive
public boolean getIsActive()Return the isActive boolean value.- Specified by:
getIsActive
in interfaceX3DSensorNode
- Returns:
- The isActive boolean value.
-
getDeletionAllowed
public boolean getDeletionAllowed()Return the deletionAllowed boolean value.- Specified by:
getDeletionAllowed
in interfaceStringSensor
- Returns:
- The deletionAllowed boolean value.
-
setDeletionAllowed
public void setDeletionAllowed(boolean val) Set the deletionAllowed field.- Specified by:
setDeletionAllowed
in interfaceStringSensor
- Parameters:
val
- The boolean to set.
-
getEnteredText
Return the enteredText String value.- Specified by:
getEnteredText
in interfaceStringSensor
- Returns:
- The enteredText String value.
-
getFinalText
Return the finalText String value.- Specified by:
getFinalText
in interfaceStringSensor
- Returns:
- The finalText String value.
-