|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.j3d.plot.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(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(javax.media.j3d.TransformGroup targetTG)
targetTG
- the target transform groupMethod Detail |
public void integrateTransformChanges()
public void processKeyEvent(KeyEvent keyEvent)
keyEvent
- the AWT key event
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |