Interface KeySensor
- All Superinterfaces:
X3DChildNode
,X3DKeyDeviceSensorNode
,X3DNode
,X3DSensorNode
- All Known Implementing Classes:
SAIKeySensor
,SAIKeySensor
Defines the requirements of an X3D KeySensor node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionint
Return the actionKeyPress int value.int
Return the actionKeyRelease int value.boolean
Return the altKey boolean value.boolean
Return the controlKey boolean value.Return the keyPress String value.Return the keyRelease String value.boolean
Return the shiftKey boolean value.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods inherited from interface org.web3d.x3d.sai.X3DSensorNode
getEnabled, getIsActive, setEnabled
-
Method Details
-
getKeyPress
-
getKeyRelease
-
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.
-