|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.BaseListenerWrapper<T> com.google.gwt.user.client.ui.ListenerWrapper<KeyboardListener> com.google.gwt.user.client.ui.ListenerWrapper.WrappedKeyboardListener
public static class ListenerWrapper.WrappedKeyboardListener
Wrapper for a KeyboardListener
.
Nested Class Summary |
---|
Method Summary | |
---|---|
static ListenerWrapper.WrappedKeyboardListener |
add(HasAllKeyHandlers source,
KeyboardListener listener)
Deprecated. will be removed in GWT 2.0 along with the listener classes |
void |
onKeyDown(KeyDownEvent event)
Called when KeyDownEvent is fired. |
void |
onKeyPress(KeyPressEvent event)
Called when KeyPressEvent is fired. |
void |
onKeyUp(KeyUpEvent event)
Called when KeyUpEvent is fired. |
static void |
remove(Widget eventSource,
KeyboardListener listener)
Deprecated. will be removed in GWT 2.0 along with the listener classes |
Methods inherited from class com.google.gwt.user.client.ui.ListenerWrapper |
---|
baseRemove, getSource, setSource |
Methods inherited from class com.google.gwt.user.client.BaseListenerWrapper |
---|
baseRemove, getListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static ListenerWrapper.WrappedKeyboardListener add(HasAllKeyHandlers source, KeyboardListener listener)
source
- the event sourcelistener
- the listener
@Deprecated public static void remove(Widget eventSource, KeyboardListener listener)
eventSource
- the event source from which to remove the wrapped
listenerlistener
- the listener to removepublic void onKeyDown(KeyDownEvent event)
KeyDownHandler
KeyDownEvent
is fired.
onKeyDown
in interface KeyDownHandler
event
- the KeyDownEvent
that was firedpublic void onKeyPress(KeyPressEvent event)
KeyPressHandler
onKeyPress
in interface KeyPressHandler
event
- the KeyPressEvent
that was firedpublic void onKeyUp(KeyUpEvent event)
KeyUpHandler
onKeyUp
in interface KeyUpHandler
event
- the KeyUpEvent
that was fired
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |