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 Link icon

    • CtrlKeyManager Link icon

      public CtrlKeyManager()
  • Method Details Link icon

    • keyPressed Link icon

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

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

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