Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLDeviceSensorNodeType

All Superinterfaces:
FrameStateListener, VRMLChildNodeType, VRMLNode, VRMLNodeType, VRMLSensorNodeType, VRMLWorldRootChildNodeType

public interface VRMLDeviceSensorNodeType
extends VRMLSensorNodeType

A node representing an input / output device.

Version:
$Revision: 1.3 $
Author:
Alan Hudson

Method Summary
 java.lang.String getName()
          Get the name field.
 void setDevice(InputDevice device)
          Set the realdevice backing this node.
 void update(DeviceState state)
          Update this nodes field from the underlying device.
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLSensorNodeType
getEnabled, getIsActive, setEnabled
 
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

getName

java.lang.String getName()
Get the name field.

Returns:
The name.

update

void update(DeviceState state)
Update this nodes field from the underlying device.

Parameters:
state - The state information.

setDevice

void setDevice(InputDevice device)
Set the realdevice backing this node. This will not be called if the device name does not map to a live device.

Parameters:
device - The real device.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium