public abstract class

HandlesAllKeyEvents

extends Object
implements KeyDownHandler KeyPressHandler KeyUpHandler
java.lang.Object
   ↳ com.google.gwt.event.dom.client.HandlesAllKeyEvents

Class Overview

Receiver used to handle all key events at once. WARNING, PLEASE READ: As this class is intended for developers who wish to handle all key events in GWT, new key handler interfaces will be added to it. Therefore, updates to GWT could cause breaking API changes.

Summary

Public Constructors
HandlesAllKeyEvents()
Constructor.
Public Methods
static <H extends KeyDownHandler & KeyUpHandler & KeyPressHandler> void addHandlers(HasAllKeyHandlers eventSource, H reciever)
Convenience method used to handle all key events from an event source.
final void addKeyHandlersTo(HasAllKeyHandlers source)
Convenience method to handle all key events from an event source.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.event.dom.client.KeyDownHandler
From interface com.google.gwt.event.dom.client.KeyPressHandler
From interface com.google.gwt.event.dom.client.KeyUpHandler

Public Constructors

public HandlesAllKeyEvents ()

Constructor.

Public Methods

public static void addHandlers (HasAllKeyHandlers eventSource, H reciever)

Convenience method used to handle all key events from an event source.

Parameters
eventSource the event source
reciever the receiver implementing all key handlers

public final void addKeyHandlersTo (HasAllKeyHandlers source)

Convenience method to handle all key events from an event source.

Parameters
source the event source