public abstract class HandlesAllKeyEvents extends java.lang.Object implements KeyDownHandler, KeyUpHandler, KeyPressHandler
| Constructor and Description |
|---|
HandlesAllKeyEvents()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <H extends KeyDownHandler & KeyUpHandler & KeyPressHandler> |
addHandlers(HasAllKeyHandlers eventSource,
H reciever)
Convenience method used to handle all key events from an event source.
|
void |
addKeyHandlersTo(HasAllKeyHandlers source)
Convenience method to handle all key events from an event source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonKeyDownonKeyUponKeyPresspublic static <H extends KeyDownHandler & KeyUpHandler & KeyPressHandler> void addHandlers(HasAllKeyHandlers eventSource, H reciever)
H - receiver type, must implement all key handlerseventSource - the event sourcereciever - the receiver implementing all key handlerspublic final void addKeyHandlersTo(HasAllKeyHandlers source)
source - the event source