root/dwt/graphics/ImageLoaderListener.d

Revision 22:5f2e72114476, 1.6 kB (checked in by Frank Benoit <benoit@tionex.de>, 1 year ago)

Image in work, this revision does not compile

Line 
1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  * Port to the D programming language:
11  *     Frank Benoit <benoit@tionex.de>
12  *******************************************************************************/
13 module dwt.graphics.ImageLoaderListener;
14
15
16 public import dwt.graphics.ImageLoaderEvent;
17 public import dwt.internal.DWTEventListener;
18
19 /**
20  * Classes which implement this interface provide methods
21  * that deal with the incremental loading of image data.
22  * <p>
23  * After creating an instance of a class that implements
24  * this interface it can be added to an image loader using the
25  * <code>addImageLoaderListener</code> method and removed using
26  * the <code>removeImageLoaderListener</code> method. When
27  * image data is either partially or completely loaded, this
28  * method will be invoked.
29  * </p>
30  *
31  * @see ImageLoader
32  * @see ImageLoaderEvent
33  */
34
35 public interface ImageLoaderListener : DWTEventListener {
36
37 /**
38  * Sent when image data is either partially or completely loaded.
39  * <p>
40  * The timing of when this method is called varies depending on
41  * the format of the image being loaded.
42  * </p>
43  *
44  * @param e an event containing information about the image loading operation
45  */
46 public void imageDataLoaded(ImageLoaderEvent e);
47
48 }
Note: See TracBrowser for help on using the browser.