|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xj3d.ui.awt.device.AWTKeySensorDevice
public class AWTKeySensorDevice
Implementation of a KeySensorDevice to gather and adapt the key events for an AWT specific rendering component.
| Constructor Summary | |
|---|---|
AWTKeySensorDevice()
Constructor |
|
| Method Summary | |
|---|---|
void |
getEvents(KeySequence seq)
Return the ordered set of key events in the argument KeySequence object that have occurred since the previous call to this method. |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AWTKeySensorDevice()
| Method Detail |
|---|
public void getEvents(KeySequence seq)
getEvents in interface KeySensorDeviceseq - - The KeySequence object to initialize with the set
of key eventspublic void keyPressed(java.awt.event.KeyEvent evt)
keyPressed in interface java.awt.event.KeyListenerevt - The event that caused this method to be calledpublic void keyReleased(java.awt.event.KeyEvent evt)
keyReleased in interface java.awt.event.KeyListenerevt - The event that caused this method to be calledpublic void keyTyped(java.awt.event.KeyEvent evt)
keyTyped in interface java.awt.event.KeyListenerevt - The event that caused this method to be called
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||