Package docking.test
Class TestKeyEventDispatcher
- java.lang.Object
-
- docking.test.TestKeyEventDispatcher
-
public class TestKeyEventDispatcher extends java.lang.Object
A class that helps to delegate key events to the system override key event dispatcher. This class exists to avoid package restrictions.
-
-
Constructor Summary
Constructors Constructor Description TestKeyEventDispatcher()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
dispatchKeyEvent(java.awt.event.KeyEvent event)
Uses the system-overriddenKeyEventDispatcher
to send the event.
-
-
-
Method Detail
-
dispatchKeyEvent
public static boolean dispatchKeyEvent(java.awt.event.KeyEvent event)
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
-
-