Eclipse Draw2d
2.1

org.eclipse.draw2d
Interface KeyListener

All Known Implementing Classes:
KeyListener.Stub

public interface KeyListener

A listener interface for receiving KeyEvents from the keyboard.


Nested Class Summary
static class KeyListener.Stub
          An empty implementation of KeyListener for convenience.
 
Method Summary
 void keyPressed(KeyEvent ke)
          Called when a key is pressed.
 void keyReleased(KeyEvent ke)
          Called when a key is released.
 

Method Detail

keyPressed

public void keyPressed(KeyEvent ke)
Called when a key is pressed.

Parameters:
ke - The KeyEvent object

keyReleased

public void keyReleased(KeyEvent ke)
Called when a key is released.

Parameters:
ke - The KeyEvent object

Eclipse Draw2d
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.