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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCtrlKeyListener(char key, ActionListener actionListener) voidclearAll()Clear all ctrl key listeners from the list.voidMethods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
-
Constructor Details
-
CtrlKeyManager
public CtrlKeyManager()
-
-
Method Details
-
keyPressed
- Specified by:
keyPressedin interfaceKeyListener- Overrides:
keyPressedin classKeyAdapter
-
addCtrlKeyListener
-
clearAll
public void clearAll()Clear all ctrl key listeners from the list.
-