Package PamView
Class CtrlKeyManager
java.lang.Object
java.awt.event.KeyAdapter
PamView.CtrlKeyManager
- All Implemented Interfaces:
KeyListener
,EventListener
Class to add to a window in order to intercept and interpret Ctrl key
strokes. Used in components such as the Click BT display.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCtrlKeyListener
(char key, ActionListener actionListener) void
clearAll()
Clear all ctrl key listeners from the list.void
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
-
Constructor Details
-
CtrlKeyManager
public CtrlKeyManager()
-
-
Method Details
-
keyPressed
- Specified by:
keyPressed
in interfaceKeyListener
- Overrides:
keyPressed
in classKeyAdapter
-
addCtrlKeyListener
-
clearAll
public void clearAll()Clear all ctrl key listeners from the list.
-