com.google.gwt.user.client
Class BaseListenerWrapper<T>

java.lang.Object
  extended by com.google.gwt.user.client.BaseListenerWrapper<T>
Type Parameters:
T - listener type to be wrapped
All Implemented Interfaces:
EventHandler
Direct Known Subclasses:
ListenerWrapper

Deprecated. will be removed in GWT 2.0 with the handler listeners themselves

@Deprecated
public abstract class BaseListenerWrapper<T>
extends java.lang.Object
implements EventHandler

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.


Method Summary
 void setSource(Widget source)
          Deprecated. Sets the widget source to pass to the listeners.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setSource

public void setSource(Widget source)
Deprecated. 
Sets the widget source to pass to the listeners. Source defaults to event.getSource() if this method is not used.

Parameters:
source - the source to provide as the listener's source