|
Draw2d 3.9.0.201308190730 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.eclipse.draw2d.InputEvent
org.eclipse.draw2d.KeyEvent
public class KeyEvent
An event caused by the user interacting with the keyboard.
| Field Summary | |
|---|---|
char |
character
The character that was pressed. |
int |
keycode
The keycode. |
| Fields inherited from class org.eclipse.draw2d.InputEvent |
|---|
ALT, ANY_BUTTON, BUTTON1, BUTTON2, BUTTON3, BUTTON4, BUTTON5, CONTROL, SHIFT |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
KeyEvent(EventDispatcher dispatcher,
IFigure source,
KeyEvent ke)
Constructs a new KeyEvent. |
|
| Method Summary |
|---|
| Methods inherited from class org.eclipse.draw2d.InputEvent |
|---|
consume, getState, isConsumed |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public char character
KeyEvent.characterpublic int keycode
KeyEvent.keyCode| Constructor Detail |
|---|
public KeyEvent(EventDispatcher dispatcher,
IFigure source,
KeyEvent ke)
dispatcher - the event dispatchersource - the source of the eventke - an SWT key event used to supply the statemask, keycode and
character
|
Draw2d 3.9.0.201308190730 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||