Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.keydevicesensor
Interface KeySensor

All Superinterfaces:
X3DChildNode, X3DKeyDeviceSensorNode, X3DNode, X3DSensorNode

public interface KeySensor
extends X3DKeyDeviceSensorNode

Defines the requirements of an X3D KeySensor node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 int getActionKeyPress()
          Return the actionKeyPress int value.
 int getActionKeyRelease()
          Return the actionKeyRelease int value.
 boolean getAltKey()
          Return the altKey boolean value.
 boolean getControlKey()
          Return the controlKey boolean value.
 java.lang.String getKeyPress()
          Return the keyPress String value.
 java.lang.String getKeyRelease()
          Return the keyRelease String value.
 boolean getShiftKey()
          Return the shiftKey boolean value.
 
Methods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabled
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getKeyPress

java.lang.String getKeyPress()
Return the keyPress String value.

Returns:
The keyPress String value.

getKeyRelease

java.lang.String getKeyRelease()
Return the keyRelease String value.

Returns:
The keyRelease String value.

getActionKeyPress

int getActionKeyPress()
Return the actionKeyPress int value.

Returns:
The actionKeyPress int value.

getActionKeyRelease

int getActionKeyRelease()
Return the actionKeyRelease int value.

Returns:
The actionKeyRelease int value.

getShiftKey

boolean getShiftKey()
Return the shiftKey boolean value.

Returns:
The shiftKey boolean value.

getControlKey

boolean getControlKey()
Return the controlKey boolean value.

Returns:
The controlKey boolean value.

getAltKey

boolean getAltKey()
Return the altKey boolean value.

Returns:
The altKey boolean value.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium