Package PamView

Class CtrlKeyManager

All Implemented Interfaces:
KeyListener, EventListener

public class CtrlKeyManager extends KeyAdapter
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 Details

    • CtrlKeyManager

      public CtrlKeyManager()
  • Method Details

    • keyPressed

      public void keyPressed(KeyEvent k)
      Specified by:
      keyPressed in interface KeyListener
      Overrides:
      keyPressed in class KeyAdapter
    • addCtrlKeyListener

      public void addCtrlKeyListener(char key, ActionListener actionListener)
    • clearAll

      public void clearAll()
      Clear all ctrl key listeners from the list.