KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > graphics > ImageLoaderListener


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  *******************************************************************************/

11 package org.eclipse.swt.graphics;
12
13
14 import org.eclipse.swt.internal.SWTEventListener;
15
16 /**
17  * Classes which implement this interface provide methods
18  * that deal with the incremental loading of image data.
19  * <p>
20  * After creating an instance of a class that implements
21  * this interface it can be added to an image loader using the
22  * <code>addImageLoaderListener</code> method and removed using
23  * the <code>removeImageLoaderListener</code> method. When
24  * image data is either partially or completely loaded, this
25  * method will be invoked.
26  * </p>
27  *
28  * @see ImageLoader
29  * @see ImageLoaderEvent
30  */

31
32 public interface ImageLoaderListener extends SWTEventListener {
33
34 /**
35  * Sent when image data is either partially or completely loaded.
36  * <p>
37  * The timing of when this method is called varies depending on
38  * the format of the image being loaded.
39  * </p>
40  *
41  * @param e an event containing information about the image loading operation
42  */

43 public void imageDataLoaded(ImageLoaderEvent e);
44
45 }
46
Popular Tags