|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.keyboard.GrabbableFocusManager
This FocusManager allows to 'steal' keys on demand. The primary usage is for the multi-keystroke shortcuts system which needs to steal keys when entering a valid multi-key sequence.
Nested Class Summary | |
static interface |
GrabbableFocusManager.CtrlTabManager
Implement this interface and return true on isManagingCtrlTabFor() if you have key bindings for managing the Ctrl+Tab keystrokes. |
Method Summary | |
boolean |
dispatchKeyEvent(java.awt.event.KeyEvent anEvent)
1) handles the eatNextTypedReleased() functionality 2) If Ctrl+Tab or Ctrl+Shift+Tab is pressed, check if a parent of the focusedComponent is an instance of GrabbableFocusManager.CtrlTabManager. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
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
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.