com.maryanovsky.gwtutils.client.ui
Interface ImageLoadListener

All Superinterfaces:
EventListener

public interface ImageLoadListener
extends EventListener

The interface for getting notified when an image finishes loading.

Author:
Maryanovsky Alexander

Method Summary
 void imageFailed(String url)
          Invoked when the image failed loading.
 void imageLoaded(String url, int width, int height)
          Invoked when the image finishes loading successfully.
 

Method Detail

imageLoaded

void imageLoaded(String url,
                 int width,
                 int height)
Invoked when the image finishes loading successfully.

Parameters:
url - The url of the image
width - The width of the image.
height - The height of the image.

imageFailed

void imageFailed(String url)
Invoked when the image failed loading.