|
![]() |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.thefrontside.freestyle.event.Event
net.thefrontside.freestyle.event.KeyEvent
A Message object which is passed to a registered KeyEventHandler, when a user types a key on the keyboard.
for more information on how key events are generated, see http://www.thefrontside.net/freestyle/architecture/focus
KeyEventHandler| Constructor Summary | |
KeyEvent(java.lang.String type,
Component target,
int keyCode,
boolean isShiftDown,
boolean isCtrlDown)
Create A KeyEvent with the given parameters. |
|
| Method Summary | |
int |
getKeyCode()
Gets the unicode keyCode for this event. |
boolean |
isCtrlDown()
Indicates whether the CTRL key was depressed when this KeyEvent occured |
boolean |
isShiftDown()
Indicates whether the SHIFT key was depressed when this KeyEvent occured |
| Methods inherited from class net.thefrontside.freestyle.event.Event |
activate, consume, getTarget, getType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeyEvent(java.lang.String type,
Component target,
int keyCode,
boolean isShiftDown,
boolean isCtrlDown)
| Method Detail |
public boolean isCtrlDown()
true if the CTRL key was depressedpublic boolean isShiftDown()
true if the SHIFT key was depressedpublic int getKeyCode()
int corresponding to the unicode keyCode of the key that generated this event.
|
Welcome to the Millenium!!!!! | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||