|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.utils.behaviors.keyboard.KeyNavigator
public class KeyNavigator
This is the KeyNavigator class. It accumulates AWT key events (key press and key release) and computes a new transform based on the accumulated events and elapsed time.
Constructor Summary | |
---|---|
KeyNavigator(javax.media.j3d.TransformGroup targetTG)
Constructs a new key navigator object that operates on the specified transform group. |
Method Summary | |
---|---|
void |
integrateTransformChanges()
Computes a new transform for the next frame based on the current transform, accumulated keyboard inputs, and elapsed time. |
void |
processKeyEvent(java.awt.event.KeyEvent keyEvent)
Processed a keyboard event. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyNavigator(javax.media.j3d.TransformGroup targetTG)
targetTG
- the target transform groupMethod Detail |
---|
public void integrateTransformChanges()
public void processKeyEvent(java.awt.event.KeyEvent keyEvent)
keyEvent
- the AWT key event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |