Fields
| Name | Description |
|---|---|
| ABORTED | Flag indicating that the downloading of some media was aborted. |
| COMPLETE | Flag indicating that the downloading of media was completed successfully. |
| ERRORED | Flag indicating that the downloading of some media encountered an error. |
| LOADING | Flag indicating some media is currently being loaded. |
Constructors
| Name | Description |
|---|---|
| MediaTracker(Component) | Creates a media tracker to track images for a given component. |
Methods
| Name | Description |
|---|---|
| addImage(Image, int) | Adds an image to the list of images being tracked by this media tracker. |
| addImage(Image, int, int, int) | Adds a scaled image to the list of images being tracked by this media tracker. |
| checkAll() | Checks to see if all images being tracked by this media tracker have finished loading. |
| checkAll(boolean) | Checks to see if all images being tracked by this media tracker have finished loading. |
| checkID(int) | Checks to see if all images tracked by this media tracker that are tagged with the specified identifier have finished loading. |
| checkID(int, boolean) | Checks to see if all images tracked by this media tracker that are tagged with the specified identifier have finished loading. |
| getErrorsAny() | Returns a list of all media that have encountered an error. |
| getErrorsID(int) | Returns a list of media with the specified ID that have encountered an error. |
| isErrorAny() | Checks the error status of all of the images. |
| isErrorID(int) | Checks the error status of all of the images tracked by this media tracker with the specified identifier. |
| removeImage(Image) | Remove the specified image from this media tracker. |
| removeImage(Image, int) | Remove the specified image from the specified tracking ID of this media tracker. |
| removeImage(Image, int, int, int) | Remove the specified image with the specified width, height, and ID from this media tracker. |
| statusAll(boolean) | Calculates and returns the bitwise inclusive OR of the status of all media that are tracked by this media tracker. |
| statusID(int, boolean) | Calculates and returns the bitwise inclusive OR of the status of all media with the specified identifier that are tracked by this media tracker. |
| waitForAll() | Starts loading all images tracked by this media tracker. |
| waitForAll(long) | Starts loading all images tracked by this media tracker. |
| waitForID(int) | Starts loading all images tracked by this media tracker with the specified identifier. |
| waitForID(int, long) | Starts loading all images tracked by this media tracker with the specified identifier. |