ImageLoader.addImageLoaderListener

Adds the listener to the collection of listeners who will be notified when image data is either partially or completely loaded. <p> An ImageLoaderListener should be added before invoking one of the receiver's load methods. The listener's <code>imageDataLoaded</code> method is called when image data has been partially loaded, as is supported by interlaced GIF/PNG or progressive JPEG images.

@param listener the listener which should be notified

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the listener is null</li> </ul>

@see ImageLoaderListener @see ImageLoaderEvent

class ImageLoader
void
addImageLoaderListener
(
ImageLoaderListener listener
)

Meta