yu.ac.bg.etf.javaqx.qswing.events
Class KeyAdapter

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.events.KeyAdapter
All Implemented Interfaces:
java.util.EventListener, KeyListener

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

Abstract Key Adapter.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Constructor Summary
KeyAdapter()
           
 
Method Summary
 void keyPressed(KeyEvent e)
          Notifies listener that a key has pressed.
 void keyReleased(KeyEvent e)
          Notifies listener that a key has released.
 void keyTyped(KeyEvent e)
          Notifies listener that a key has typed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyAdapter

public KeyAdapter()
Method Detail

keyPressed

public void keyPressed(KeyEvent e)
Notifies listener that a key has pressed.

Specified by:
keyPressed in interface KeyListener
Parameters:
e - the key event

keyReleased

public void keyReleased(KeyEvent e)
Notifies listener that a key has released.

Specified by:
keyReleased in interface KeyListener
Parameters:
e - the key event

keyTyped

public void keyTyped(KeyEvent e)
Notifies listener that a key has typed.

Specified by:
keyTyped in interface KeyListener
Parameters:
e - the key event


Copyright © 2007 ETF and contributors. All Rights Reserved.