public final class GrabbableFocusManager
extends java.lang.Object
implements java.awt.KeyEventDispatcher
Modifier and Type | Method and Description |
---|---|
boolean |
dispatchKeyEvent(java.awt.event.KeyEvent anEvent)
1) handles the eatNextTypedReleased() functionality
|
void |
eatNextTypedReleased()
Eats the keyTyped and keyReleased corresponding to the last keyPressed.
|
static GrabbableFocusManager |
getGrabbableFocusManager() |
static GrabbableFocusManager |
install()
Installing the GrabbableFocusManager inserts a new FocusManager chained to
the original one.
|
public static GrabbableFocusManager install()
public static GrabbableFocusManager getGrabbableFocusManager()
public void eatNextTypedReleased()
public boolean dispatchKeyEvent(java.awt.event.KeyEvent anEvent)
dispatchKeyEvent
in interface java.awt.KeyEventDispatcher