|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.renderer.aviatrix3d.device.input.keyboard.KeyboardDevice
public class KeyboardDevice
A keyboard device. This device is a navigation only device.
Field Summary |
---|
Fields inherited from interface org.j3d.device.input.InputDevice |
---|
FUNC_BUTTON_1, FUNC_BUTTON_2, FUNC_BUTTON_3, FUNC_BUTTON_4, FUNC_L1_BUTTON, FUNC_LEFT_HAT, FUNC_LEFT_STICK_X, FUNC_LEFT_STICK_Y, FUNC_LEFT_STICK_Z, FUNC_NAV_X, FUNC_NAV_Y, FUNC_NAV_Y_CENTERED, FUNC_NONE, FUNC_ORIENT_X, FUNC_ORIENT_Y, FUNC_R1_BUTTON, FUNC_RIGHT_STICK_X, FUNC_RIGHT_STICK_Y, FUNC_START_BUTTON, FUNC_THROTTLE, FUNC_VIEWPOINT_NEXT, FUNC_WHEEL_X |
Constructor Summary | |
---|---|
KeyboardDevice(java.lang.String name)
|
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of this device. |
int |
getTrackerCount()
Get a count of the number of trackers this device has. |
org.j3d.device.input.Tracker[] |
getTrackers()
|
void |
keyPressed(java.awt.event.KeyEvent evt)
Notification of a key press event. |
void |
keyReleased(java.awt.event.KeyEvent evt)
Notification of a key release event. |
void |
keyTyped(java.awt.event.KeyEvent evt)
Notification of a key type (press and release) event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyboardDevice(java.lang.String name)
Method Detail |
---|
public java.lang.String getName()
getName
in interface org.j3d.device.input.InputDevice
public org.j3d.device.input.Tracker[] getTrackers()
getTrackers
in interface org.j3d.device.input.TrackerDevice
public int getTrackerCount()
getTrackerCount
in interface org.j3d.device.input.TrackerDevice
public void keyPressed(java.awt.event.KeyEvent evt)
keyPressed
in interface java.awt.event.KeyListener
evt
- The key event that caused this method to be calledpublic void keyReleased(java.awt.event.KeyEvent evt)
keyReleased
in interface java.awt.event.KeyListener
evt
- The key event that caused this method to be calledpublic void keyTyped(java.awt.event.KeyEvent evt)
keyTyped
in interface java.awt.event.KeyListener
evt
- The key event that caused this method to be called
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |