Java java.awt MediaTracker fields, constructors, methods, implement or subclass

Example usage for Java java.awt MediaTracker fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt MediaTracker.

The text is from its open source code.

Field

intLOADING
Flag indicating that media is currently being loaded.
intERRORED
Flag indicating that the downloading of media encountered an error.
intCOMPLETE
Flag indicating that the downloading of media was completed successfully.
intLOADING
intERRORED
intCOMPLETE

Constructor

MediaTracker(Component comp)
Creates a media tracker to track images for a given component.

Method

voidaddImage(Image image, int id)
Adds an image to the list of images being tracked by this media tracker.
booleanisErrorAny()
Checks the error status of all of the images.
booleanisErrorID(int id)
Checks the error status of all of the images tracked by this media tracker with the specified identifier.
voidremoveImage(Image image, int id)
Removes the specified image from the specified tracking ID of this media tracker.
intstatusID(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.
voidwaitForAll()
Starts loading all images tracked by this media tracker.
voidwaitForID(int id)
Starts loading all images tracked by this media tracker with the specified identifier.