|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.device.input.Tracker org.j3d.renderer.aviatrix3d.device.input.keyboard.KeyboardTracker
public class KeyboardTracker
A tracker implementation for keyboard devices.
Field Summary |
---|
Fields inherited from class org.j3d.device.input.Tracker |
---|
MASK_NONE, MASK_ORIENTATION, MASK_PICKING, MASK_POSITION |
Constructor Summary | |
---|---|
KeyboardTracker()
|
Method Summary | |
---|---|
void |
beginPolling()
Notification that tracker polling is beginning. |
void |
endPolling()
Notification that tracker polling is ending. |
int |
getActionMask()
What action types does this sensor return. |
void |
getState(int layer,
int subLayer,
org.j3d.device.input.TrackerState state)
Get the current state of this tracker. |
void |
keyPressed(java.awt.event.KeyEvent evt)
Process a key press event. |
void |
keyReleased(java.awt.event.KeyEvent evt)
Process a key release event. |
void |
keyTyped(java.awt.event.KeyEvent evt)
Process a key typed event. |
Methods inherited from class org.j3d.device.input.Tracker |
---|
actionChanges |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyboardTracker()
Method Detail |
---|
public int getActionMask()
getActionMask
in class org.j3d.device.input.Tracker
public void beginPolling()
beginPolling
in class org.j3d.device.input.Tracker
public void endPolling()
endPolling
in class org.j3d.device.input.Tracker
public void getState(int layer, int subLayer, org.j3d.device.input.TrackerState state)
getState
in class org.j3d.device.input.Tracker
layer
- The ID of the layer to get the state forsubLayer
- The ID of the sub layer within the parent layerstate
- The current statepublic void keyPressed(java.awt.event.KeyEvent evt)
keyPressed
in interface java.awt.event.KeyListener
evt
- The event that caused this method to be calledpublic void keyReleased(java.awt.event.KeyEvent evt)
keyReleased
in interface java.awt.event.KeyListener
evt
- The event that caused this method to be calledpublic void keyTyped(java.awt.event.KeyEvent evt)
keyTyped
in interface java.awt.event.KeyListener
evt
- The event that caused this method to be called
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |