Package com.google.gwt.user.client
Class BaseListenerWrapper<T>
java.lang.Object
com.google.gwt.user.client.BaseListenerWrapper<T>
- Type Parameters:
T
- listener type to be wrapped
- All Implemented Interfaces:
EventHandler
- Direct Known Subclasses:
BaseListenerWrapper.WrapWindowClose
,BaseListenerWrapper.WrapWindowResize
,BaseListenerWrapper.WrapWindowScroll
,ListenerWrapper
Deprecated.
will be removed in GWT 2.7 with the handler listeners themselves
Legacy listener support hierarchy root.
Note, this class and its subtypes all assume that the handlers are stored in
handler managers.
This class, and its children are used to gather the bulk of the legacy glue
code in one place, for easy deletion when Listener methods are deleted.
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
Deprecated.(package private) static class
Deprecated.(package private) static class
Deprecated. -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseListenerWrapper
(T listener) Deprecated.Creates a new listener wrapper. -
Method Summary
Modifier and TypeMethodDescriptionprotected static <H extends EventHandler>
voidbaseRemove
(HandlerManager manager, Object listener, GwtEvent.Type... types) Deprecated.Helper method to remove all wrapped listeners from the given event types.protected T
Deprecated.Gets the listener being wrapped.
-
Field Details
-
listener
Deprecated.Listener being wrapped.
-
-
Constructor Details
-
BaseListenerWrapper
Deprecated.Creates a new listener wrapper.- Parameters:
listener
- the listener to wrap
-
-
Method Details
-
getListener
Deprecated.Gets the listener being wrapped.- Returns:
- the wrapped listener