|
GWT 2.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.BaseListenerWrapper<T>
T
- listener type to be wrapped
@Deprecated public abstract class BaseListenerWrapper<T>
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.
Constructor Summary | |
---|---|
protected |
BaseListenerWrapper(T listener)
Deprecated. Creates a new listener wrapper. |
Method Summary | ||
---|---|---|
protected static
|
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. |
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BaseListenerWrapper(T listener)
listener
- the listener to wrapMethod Detail |
---|
protected 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 frompublic void setSource(Widget source)
source
- the source to provide as the listener's sourceprotected T getListener()
protected Widget getSource(GwtEvent<?> event)
setSource(Widget)
.
event
- the event
|
GWT 2.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |