Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLDeviceSensorNodeType

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

public interface VRMLDeviceSensorNodeType
extends VRMLSensorNodeType

A node representing an input / output device.

Version:
$Revision: 1.2 $
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, getFieldValue, getMetadataObject, getRefCount, 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

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

Returns:
The name.

update

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

Parameters:
state - The state information.

setDevice

public 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 VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium