T
- listener type@Deprecated public abstract class ListenerWrapper<T> extends BaseListenerWrapper<T>
com.google.gwt.user.client.ui
. Gathers the bulk of the legacy
glue code in one place, for easy deletion when Listener methods are deleted.Modifier and Type | Class and Description |
---|---|
static class |
ListenerWrapper.WrappedChangeListener
Deprecated.
will be removed in GWT 2.0 along with the listeners being
wrapped
|
static class |
ListenerWrapper.WrappedClickListener
Deprecated.
will be removed in GWT 2.0 along with the listeners being
wrapped
|
static class |
ListenerWrapper.WrappedFocusListener
Deprecated.
Wrapper for a
FocusListener . |
static class |
ListenerWrapper.WrappedKeyboardListener
Deprecated.
Wrapper for a
KeyboardListener . |
static class |
ListenerWrapper.WrappedLoadListener
Deprecated.
Wrapper for a
LoadListener . |
static class |
ListenerWrapper.WrappedLogicalChangeListener<V>
Deprecated.
will be removed in GWT 2.0 along with the listeners being
wrapped
|
static class |
ListenerWrapper.WrappedMouseListener
Deprecated.
Wrapper for a
MouseListener . |
static class |
ListenerWrapper.WrappedMouseWheelListener
Deprecated.
Wrapper for a
MouseWheelListener . |
static class |
ListenerWrapper.WrappedScrollListener
Deprecated.
Wrapper for a
ScrollListener . |
Modifier | Constructor and Description |
---|---|
protected |
ListenerWrapper(T listener)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static <H extends EventHandler> |
baseRemove(Widget eventSource,
EventListener listener,
GwtEvent.Type... types)
Deprecated.
Convenience method to remove wrapped handlers from a widget.
|
protected Widget |
getSource(GwtEvent<?> event)
Deprecated.
Gets the widget source to pass to the listeners.
|
void |
setSource(Widget source)
Deprecated.
Sets the widget source to pass to the listeners.
|
baseRemove, getListener
protected ListenerWrapper(T listener)
protected static <H extends EventHandler> void baseRemove(Widget eventSource, EventListener listener, GwtEvent.Type... types)
H
- event handler typeeventSource
- the event sourcelistener
- the listener to removetypes
- the event types to remove it frompublic void setSource(Widget source)
source
- the source to provide as the listener's sourceprotected Widget getSource(GwtEvent<?> event)
setSource(Widget)
.event
- the eventCopyright © 2016. All rights reserved.