public class ImageLoaderEvent
extends SWTEventObject
Notes:
endOfImage
flag in the event will be set to true
after each individual image is loaded.ImageLoader
,
ImageLoaderListener
Modifier and Type | Field and Description |
---|---|
boolean |
endOfImage
If this flag is true, then the current image data has been
completely loaded, otherwise the image data is only partially
loaded, and further ImageLoader events will occur unless an
exception is thrown
|
ImageData |
imageData
if the
endOfImage flag is false, then this is a
partially complete copy of the current ImageData ,
otherwise this is a completely loaded ImageData |
int |
incrementCount
the zero-based count of image data increments -- this is
equivalent to the number of events that have been generated
while loading a particular image
|
Constructor and Description |
---|
ImageLoaderEvent(ImageLoader source,
ImageData imageData,
int incrementCount,
boolean endOfImage)
Constructs a new instance of this class given the event source and
the values to store in its fields.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a string containing a concise, human-readable
description of the receiver.
|
public ImageData imageData
endOfImage
flag is false, then this is a
partially complete copy of the current ImageData
,
otherwise this is a completely loaded ImageData
public int incrementCount
public boolean endOfImage
public ImageLoaderEvent(ImageLoader source, ImageData imageData, int incrementCount, boolean endOfImage)
source
- the ImageLoader that was loading when the event occurredimageData
- the image data for the eventincrementCount
- the image data increment for the eventendOfImage
- the end of image flag for the event
Copyright (c) EclipseSource and others 2002, 2015.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0