|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.j3d.utils.behaviors.keyboard.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 |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public KeyNavigator(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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |