|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.games.input.AbstractController
net.java.games.input.Keyboard
net.java.games.input.AWTKeyboard
final class AWTKeyboard
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.java.games.input.Controller |
---|
Controller.PortType, Controller.Type |
Field Summary |
---|
Fields inherited from class net.java.games.input.AbstractController |
---|
EVENT_QUEUE_DEPTH |
Constructor Summary | |
---|---|
protected |
AWTKeyboard()
|
Method Summary | |
---|---|
void |
eventDispatched(java.awt.AWTEvent event)
|
protected boolean |
getNextDeviceEvent(Event event)
|
void |
pollDevice()
|
protected void |
setDeviceEventQueueSize(int size)
Plugins override this method to adjust their internal event queue size |
Methods inherited from class net.java.games.input.Keyboard |
---|
getType, isKeyDown |
Methods inherited from class net.java.games.input.AbstractController |
---|
getComponent, getComponents, getControllers, getEventQueue, getName, getPortNumber, getPortType, getRumblers, poll, setEventQueueSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AWTKeyboard()
Method Detail |
---|
protected final void setDeviceEventQueueSize(int size) throws java.io.IOException
AbstractController
setDeviceEventQueueSize
in class AbstractController
java.io.IOException
public final void eventDispatched(java.awt.AWTEvent event)
eventDispatched
in interface java.awt.event.AWTEventListener
public final void pollDevice() throws java.io.IOException
pollDevice
in class AbstractController
java.io.IOException
protected final boolean getNextDeviceEvent(Event event) throws java.io.IOException
getNextDeviceEvent
in class AbstractController
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |