|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.ihmc.utilities.keyboardAndMouse.RepeatingReleasedEventsFixer
public class RepeatingReleasedEventsFixer
Copied verbatim from: here. This fixes a bug in Linux where KEY_RELEASED events are fired while KEY_PRESSED is engaged, making handling of events that need to change on this switch difficult to manage.
Nested Class Summary | |
---|---|
static interface |
RepeatingReleasedEventsFixer.Reposted
Marker interface that denotes that the KeyEvent in question is reposted from some
AWTEventListener , including this. |
static class |
RepeatingReleasedEventsFixer.RepostedKeyEvent
Dead simple extension of KeyEvent that implements RepeatingReleasedEventsFixer.Reposted . |
Constructor Summary | |
---|---|
RepeatingReleasedEventsFixer()
|
Method Summary | |
---|---|
void |
eventDispatched(java.awt.AWTEvent event)
|
void |
install()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepeatingReleasedEventsFixer()
Method Detail |
---|
public void install()
public void remove()
public void eventDispatched(java.awt.AWTEvent event)
eventDispatched
in interface java.awt.event.AWTEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |