charva.awt.event

Class KeyAdapter

Implemented Interfaces:
EventListener, KeyListener

public abstract class KeyAdapter
extends java.lang.Object
implements KeyListener

An abstract class for receiving key events. The methods provided in this class are empty; the class is provided as a convenience for implementing the KeyListener interface. You only have to implement the methods you are interested in.

Method Summary

void
keyPressed(KeyEvent ke)
void
keyReleased(KeyEvent ke)
void
keyTyped(KeyEvent ke)

Method Details

keyPressed

public void keyPressed(KeyEvent ke)
Specified by:
keyPressed in interface KeyListener

keyReleased

public void keyReleased(KeyEvent ke)
Specified by:
keyReleased in interface KeyListener

keyTyped

public void keyTyped(KeyEvent ke)
Specified by:
keyTyped in interface KeyListener