Example usage for Java java.awt MediaTracker fields, constructors, methods, implement or subclass
The text is from its open source code.
int | LOADING Flag indicating that media is currently being loaded. |
int | ERRORED Flag indicating that the downloading of media encountered an error. |
int | COMPLETE Flag indicating that the downloading of media was completed successfully. |
int | LOADING |
int | ERRORED |
int | COMPLETE |
MediaTracker(Component comp) Creates a media tracker to track images for a given component. |
void | addImage(Image image, int id) Adds an image to the list of images being tracked by this media tracker. |
boolean | isErrorAny() Checks the error status of all of the images. |
boolean | isErrorID(int id) Checks the error status of all of the images tracked by this media tracker with the specified identifier. |
void | removeImage(Image image, int id) Removes the specified image from the specified tracking ID of this media tracker. |
int | statusID(int id, boolean load) Calculates and returns the bitwise inclusive OR of the status of all media with the specified identifier that are tracked by this media tracker. |
void | waitForAll() Starts loading all images tracked by this media tracker. |
void | waitForID(int id) Starts loading all images tracked by this media tracker with the specified identifier. |