public static class

ListenerWrapper.WrappedLoadListener

extends ListenerWrapper<T>
implements ErrorHandler LoadHandler
java.lang.Object
   ↳ com.google.gwt.user.client.BaseListenerWrapper<T>
     ↳ com.google.gwt.user.client.ui.ListenerWrapper<T>
       ↳ com.google.gwt.user.client.ui.ListenerWrapper.WrappedLoadListener

Class Overview

Wrapper for a LoadListener.

Summary

Public Methods
static <S extends HasLoadHandlers & HasErrorHandlers> ListenerWrapper.WrappedLoadListener add(S source, LoadListener listener)
This method is deprecated. will be removed in GWT 2.0 along with the listener classes
void onError(ErrorEvent event)
Called when ErrorEvent is fired.
void onLoad(LoadEvent event)
Called when LoadEvent is fired.
static void remove(Widget eventSource, LoadListener listener)
This method is deprecated. will be removed in GWT 2.0 along with the listener classes
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.ListenerWrapper
From class com.google.gwt.user.client.BaseListenerWrapper
From class java.lang.Object
From interface com.google.gwt.event.dom.client.ErrorHandler
From interface com.google.gwt.event.dom.client.LoadHandler

Public Methods

public static ListenerWrapper.WrappedLoadListener add (S source, LoadListener listener)

This method is deprecated.
will be removed in GWT 2.0 along with the listener classes

Adds the wrapped listener.

Parameters
source the event source
listener the listener
Returns
  • the wrapped listener

public void onError (ErrorEvent event)

Called when ErrorEvent is fired.

Parameters
event the ErrorEvent that was fired

public void onLoad (LoadEvent event)

Called when LoadEvent is fired.

Parameters
event the LoadEvent that was fired

public static void remove (Widget eventSource, LoadListener listener)

This method is deprecated.
will be removed in GWT 2.0 along with the listener classes

Removes the wrapped listener.

Parameters
eventSource the event source from which to remove the wrapped listener
listener the listener to remove