Class LobbyKeyDispatcher
java.lang.Object
megamek.client.ui.panels.phaseDisplay.lobby.LobbyKeyDispatcher
- All Implemented Interfaces:
KeyEventDispatcher
This key dispatcher catches Ctrl-C / Ctrl-V keypresses in the lobby to allow copy/pasting units
without being obstructed by focus. If not done in this way, a table such as the player table will
catch these key events before the Menubar can get them.
Thus, the Menubar accelerators for Unit Copy/Paste are only for show, they do not actually catch these keys.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LobbyKeyDispatcher
-
-
Method Details
-
dispatchKeyEvent
- Specified by:
dispatchKeyEvent
in interfaceKeyEventDispatcher
-