Class LobbyKeyDispatcher

java.lang.Object
megamek.client.ui.panels.phaseDisplay.lobby.LobbyKeyDispatcher
All Implemented Interfaces:
KeyEventDispatcher

public class LobbyKeyDispatcher extends Object implements 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.