|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.ding3d.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(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(TransformGroup targetTG)
targetTG - the target transform group| Method 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 | |||||||||