org.eclipse.draw2d
Interface KeyListener
-
All Known Implementing Classes:
-
KeyListener.Stub,
LightweightSystem.EventHandler
- 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. |
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
Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.