Package docking.test
Class TestKeyEventDispatcher
java.lang.Object
docking.test.TestKeyEventDispatcher
A class that helps to delegate key events to the system override key event dispatcher. This
class exists to avoid package restrictions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
dispatchKeyEvent
(KeyEvent event) Uses the system-overriddenKeyEventDispatcher
to send the event.
-
Constructor Details
-
TestKeyEventDispatcher
public TestKeyEventDispatcher()
-
-
Method Details
-
dispatchKeyEvent
Uses the system-overriddenKeyEventDispatcher
to send the event.- Parameters:
event
- the event- Returns:
- false if the event was not handled by this class and should continue to be processed; true if the the event was handled and no further processing is needed
-