Package net.sf.colossus.gui
Class MasterBoard.InfoPopupHandler
- java.lang.Object
-
- java.awt.event.KeyAdapter
-
- net.sf.colossus.gui.MasterBoard.InfoPopupHandler
-
- All Implemented Interfaces:
java.awt.event.KeyListener
,java.util.EventListener
- Enclosing class:
- MasterBoard
private final class MasterBoard.InfoPopupHandler extends java.awt.event.KeyAdapter
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ref.WeakReference<Client>
clientRef
private static int
PANEL_MARGIN
private static int
PANEL_PADDING
private static int
POPUP_KEY_ALL_LEGIONS
private static int
POPUP_KEY_MY_LEGIONS
-
Constructor Summary
Constructors Modifier Constructor Description private
InfoPopupHandler(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
createLegionFlyouts(java.util.Collection<Marker> markers)
void
keyPressed(java.awt.event.KeyEvent e)
void
keyReleased(java.awt.event.KeyEvent e)
-
-
-
Field Detail
-
POPUP_KEY_ALL_LEGIONS
private static final int POPUP_KEY_ALL_LEGIONS
- See Also:
- Constant Field Values
-
POPUP_KEY_MY_LEGIONS
private static final int POPUP_KEY_MY_LEGIONS
- See Also:
- Constant Field Values
-
PANEL_MARGIN
private static final int PANEL_MARGIN
- See Also:
- Constant Field Values
-
PANEL_PADDING
private static final int PANEL_PADDING
- See Also:
- Constant Field Values
-
clientRef
private final java.lang.ref.WeakReference<Client> clientRef
-
-
Constructor Detail
-
InfoPopupHandler
private InfoPopupHandler(Client client)
-
-
Method Detail
-
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed
in interfacejava.awt.event.KeyListener
- Overrides:
keyPressed
in classjava.awt.event.KeyAdapter
-
createLegionFlyouts
private void createLegionFlyouts(java.util.Collection<Marker> markers)
-
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased
in interfacejava.awt.event.KeyListener
- Overrides:
keyReleased
in classjava.awt.event.KeyAdapter
-
-