public interface

SourcesKeyboardEvents

com.google.gwt.user.client.ui.SourcesKeyboardEvents
Known Indirect Subclasses

This interface is deprecated.
use HasAllKeyHandlers instead

Class Overview

A widget that implements this interface sources the events defined by the KeyboardListener interface.

Summary

Public Methods
abstract void addKeyboardListener(KeyboardListener listener)
This method is deprecated. use addKeyPressHandler/addKeyDownKeyDownHandler/addKeyUpHandler instead
abstract void removeKeyboardListener(KeyboardListener listener)
This method is deprecated. Use the removeHandler() method on the object returned by an add*Handler method instead

Public Methods

public abstract void addKeyboardListener (KeyboardListener listener)

This method is deprecated.
use addKeyPressHandler/addKeyDownKeyDownHandler/addKeyUpHandler instead

Adds a listener interface to receive keyboard events.

Parameters
listener the listener interface to add

public abstract void removeKeyboardListener (KeyboardListener listener)

This method is deprecated.
Use the removeHandler() method on the object returned by an add*Handler method instead

Removes a previously added listener interface.

Parameters
listener the listener interface to remove