|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.events.KeyAdapter
This adapter class provides default implementations for the
methods described by the KeyListener
interface.
Classes that wish to deal with KeyEvent
s can
extend this class and override only the methods which they are
interested in.
KeyListener
,
KeyEvent
,
Sample code and further informationConstructor Summary | |
KeyAdapter()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyAdapter()
Method Detail |
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
e
- an event containing information about the key presspublic void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
e
- an event containing information about the key release
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.