Class ListenerWrapper.WrappedLoadListener

All Implemented Interfaces:
ErrorHandler, LoadHandler, EventHandler
Enclosing class:
ListenerWrapper<T>

public static class ListenerWrapper.WrappedLoadListener extends ListenerWrapper<LoadListener> implements LoadHandler, ErrorHandler
Wrapper for a LoadListener.
  • Method Details

    • add

      @Deprecated public static <S extends HasLoadHandlers & HasErrorHandlers> ListenerWrapper.WrappedLoadListener add(S source, LoadListener listener)
      Deprecated.
      will be removed in GWT 2.0 along with the listener classes
      Adds the wrapped listener.
      Type Parameters:
      S - the source of the events
      Parameters:
      source - the event source
      listener - the listener
      Returns:
      the wrapped listener
    • remove

      @Deprecated public static void remove(Widget eventSource, LoadListener listener)
      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
    • onError

      public void onError(ErrorEvent event)
      Description copied from interface: ErrorHandler
      Called when ErrorEvent is fired.
      Specified by:
      onError in interface ErrorHandler
      Parameters:
      event - the ErrorEvent that was fired
    • onLoad

      public void onLoad(LoadEvent event)
      Description copied from interface: LoadHandler
      Called when LoadEvent is fired.
      Specified by:
      onLoad in interface LoadHandler
      Parameters:
      event - the LoadEvent that was fired