T
- listener type to be wrapped@Deprecated public abstract class BaseListenerWrapper<T> extends java.lang.Object implements EventHandler
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BaseListenerWrapper.WrapWindowClose
Deprecated.
|
(package private) static class |
BaseListenerWrapper.WrapWindowResize
Deprecated.
|
(package private) static class |
BaseListenerWrapper.WrapWindowScroll
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
(package private) T |
listener
Deprecated.
Listener being wrapped.
|
Modifier | Constructor and Description |
---|---|
protected |
BaseListenerWrapper(T listener)
Deprecated.
Creates a new listener wrapper.
|
Modifier and Type | Method and Description |
---|---|
protected static <H extends EventHandler> |
baseRemove(HandlerManager manager,
java.lang.Object listener,
GwtEvent.Type... types)
Deprecated.
Helper method to remove all wrapped listeners from the given event types.
|
protected T |
getListener()
Deprecated.
Gets the listener being wrapped.
|
final T listener
protected BaseListenerWrapper(T listener)
listener
- the listener to wrapprotected static <H extends EventHandler> void baseRemove(HandlerManager manager, java.lang.Object listener, GwtEvent.Type... types)
H
- manager
- the manager to remove the listener fromlistener
- the listenertypes
- the event types to remove the listener fromprotected T getListener()