Notes:
endOfImage flag in the event will be set to true
after each individual image is loaded.ImageLoader, ImageLoaderListener, Sample code and further information
| Modifier and Type | Field 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 |
| 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 |
| Access | Constructor 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. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: a string representation of the eventOverrides java. |
| endOfImage | back 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 | |
| imageData | back to summary |
|---|---|
| public ImageData imageData if the | |
| incrementCount | back 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 | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| ImageLoaderEvent | back 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.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string containing a concise, human-readable description of the receiver. | |