public abstract class KeyAdapter extends Object implements KeyListener
KeyListener interface.
Classes that wish to deal with KeyEvents can
extend this class and override only the methods which they are
interested in.
| Constructor and Description |
|---|
KeyAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
keyPressed(KeyEvent e)
Sent when a key is pressed on the system keyboard.
|
void |
keyReleased(KeyEvent e)
Sent when a key is released on the system keyboard.
|
public void keyPressed(KeyEvent e)
keyPressed in interface KeyListenere - an event containing information about the key presspublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenere - an event containing information about the key release
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.