Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLSensorNodeType

All Superinterfaces:
FrameStateListener, VRMLChildNodeType, VRMLNode, VRMLNodeType, VRMLWorldRootChildNodeType
All Known Subinterfaces:
OGLPickingSensorNodeType, VRMLDeviceSensorNodeType, VRMLDragSensorNodeType, VRMLEnvironmentalSensorNodeType, VRMLKeyDeviceSensorNodeType, VRMLNBodySensorNodeType, VRMLPickingSensorNodeType, VRMLPointingDeviceSensorNodeType, VRMLTouchSensorNodeType
All Known Implementing Classes:
BaseDragSensorNode, BaseSensorNode

public interface VRMLSensorNodeType
extends VRMLChildNodeType

A node which generates events based on sensors

Version:
$Revision: 1.6 $
Author:
Alan Hudson

Method Summary
 boolean getEnabled()
          Accessor method to get current value of field enabled, default value is true.
 boolean getIsActive()
          Get the current value of the isActive field
 void setEnabled(boolean newEnabled)
          Accessor method to set a new value for field attribute enabled
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
 
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion
 
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
 

Method Detail

setEnabled

void setEnabled(boolean newEnabled)
Accessor method to set a new value for field attribute enabled

Parameters:
newEnabled - The new enabled value

getEnabled

boolean getEnabled()
Accessor method to get current value of field enabled, default value is true.

Returns:
The value of the enabled field

getIsActive

boolean getIsActive()
Get the current value of the isActive field

Returns:
True if currently active, false otherwise

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium