DESY ACOP Beans Home

com.cosylab.gui.components
Class Wheelswitch.KeyHandler

java.lang.Object
  extended by java.awt.event.KeyAdapter
      extended by com.cosylab.gui.components.Wheelswitch.KeyHandler
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener
Enclosing class:
Wheelswitch

protected class Wheelswitch.KeyHandler
extends java.awt.event.KeyAdapter

An implementation of KeyListener used for handling key commands for the wheelswitch.

Version:
$id$
Author:
Jernej Kamenik

Constructor Summary
protected Wheelswitch.KeyHandler()
           
 
Method Summary
 void keyPressed(java.awt.event.KeyEvent e)
          Updates the digits in this Wheelswitch when key is pressed.
 
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wheelswitch.KeyHandler

protected Wheelswitch.KeyHandler()
Method Detail

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Updates the digits in this Wheelswitch when key is pressed.

Specified by:
keyPressed in interface java.awt.event.KeyListener
Overrides:
keyPressed in class java.awt.event.KeyAdapter
Parameters:
e -


Copyright © 2010. All Rights Reserved.