KeyEventDispatcher
that will hand over KeyEvent
s to the KeyStrokeProcessor
s found in the component hierarchy. This provides a mechanism to bypass the built-in key binding framework provided by Swing, in case certain key strokes should be handled in a customized way regardless of what component currently has focus and what key bindings are installed in the component hierarchy. The KeyStrokeProcessorDispatcher
guarantees that a KeyStrokeProcessor
will always be given a chance to process a key stroke first, before the Swing key bindings are invoked.
@see KeyboardFocusManager
@author Torgil Zethson
@since 1.3.0
|
|