Top Description Fields Constructors Methods
org.eclipse.swt.graphics

public Class ImageLoaderEvent

extends EventObject
Class Inheritance
Imports
java.util.*

Instances of this class are sent as a result of the incremental loading of image data.

Notes:

See Also
ImageLoader, ImageLoaderListener, Sample code and further information

Field Summary

Modifier and TypeField and Description
public 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

public 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

public 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

pack-priv static final long
Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
ImageLoaderEvent(ImageLoader
the ImageLoader that was loading when the event occurred
source
,
ImageData
the image data for the event
imageData
,
int
the image data increment for the event
incrementCount
,
boolean
the end of image flag for the event
endOfImage
)

Constructs a new instance of this class given the event source and the values to store in its fields.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a string representation of the event
toString
()

Overrides java.util.EventObject.toString.

Returns a string containing a concise, human-readable description of the receiver.
Inherited from java.util.EventObject:
getSource

Field Detail

endOfImageback to summary
public 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

imageDataback to summary
public 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

incrementCountback to summary
public 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

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

Constructor Detail

ImageLoaderEventback to summary
public 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.

Parameters
source:ImageLoader

the ImageLoader that was loading when the event occurred

imageData:ImageData

the image data for the event

incrementCount:int

the image data increment for the event

endOfImage:boolean

the end of image flag for the event

Method Detail

toStringback to summary
public String toString()

Overrides java.util.EventObject.toString.

Returns a string containing a concise, human-readable description of the receiver.

Returns:String

a string representation of the event

Annotations
@Override