de.esw.eengine.device.input
Class KeyboardInputDevice

java.lang.Object
  extended by de.esw.eengine.device.input.KeyboardInputDevice
All Implemented Interfaces:
IInputDevice, java.awt.event.KeyListener, java.util.EventListener

public class KeyboardInputDevice
extends java.lang.Object
implements IInputDevice, java.awt.event.KeyListener

Since:
1.0
Version:
$Id: KeyboardInputDevice.java 22 2005-06-08 19:02:02Z markusw $
Author:
markusw

Constructor Summary
KeyboardInputDevice()
           
 
Method Summary
 void addInputListener(IInputListener l)
           
 void keyPressed(java.awt.event.KeyEvent evt)
           
 void keyReleased(java.awt.event.KeyEvent evt)
           
 void keyTyped(java.awt.event.KeyEvent evt)
           
 void removeInputListener(IInputListener l)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyboardInputDevice

public KeyboardInputDevice()
Method Detail

addInputListener

public void addInputListener(IInputListener l)
Specified by:
addInputListener in interface IInputDevice
Parameters:
l - IInputListener to attach to this device
See Also:
IInputDevice.addInputListener(de.esw.eengine.core.IInputListener)

removeInputListener

public void removeInputListener(IInputListener l)
Specified by:
removeInputListener in interface IInputDevice
Parameters:
l - IInputListener to detach from this device
See Also:
IInputDevice.removeInputListener(de.esw.eengine.core.IInputListener)

keyTyped

public void keyTyped(java.awt.event.KeyEvent evt)
Specified by:
keyTyped in interface java.awt.event.KeyListener
See Also:
KeyListener.keyTyped(java.awt.event.KeyEvent)

keyPressed

public void keyPressed(java.awt.event.KeyEvent evt)
Specified by:
keyPressed in interface java.awt.event.KeyListener
See Also:
KeyListener.keyPressed(java.awt.event.KeyEvent)

keyReleased

public void keyReleased(java.awt.event.KeyEvent evt)
Specified by:
keyReleased in interface java.awt.event.KeyListener
See Also:
KeyListener.keyReleased(java.awt.event.KeyEvent)