MediaTracker.checkAll

MediaTracker.checkAll

Class Overview | Class Members | This Package | All Packages

Syntax 1
public boolean checkAll()
Returns
true if all images have finished loading, have been aborted, or have encountered an error; false otherwise.
Description
Checks to see if all images being tracked by this media tracker have finished loading.

This method does not start loading the images if they are not already loading.

If there is an error while loading or scaling an image, then that image is considered to have finished loading. Use the isErrorAny or isErrorID methods to check for errors.

See Also
checkAll, checkID, isErrorAny, isErrorID



Syntax 2
public boolean checkAll( boolean load )
Parameters
load
if true, start loading any images that are not yet being loaded.
Returns
true if all images have finished loading, have been aborted, or have encountered an error; false otherwise.
Description
Checks to see if all images being tracked by this media tracker have finished loading.

If the value of the load flag is true, then this method starts loading any images that are not yet being loaded.

If there is an error while loading or scaling an image, that image is considered to have finished loading. Use the isErrorAny and isErrorID methods to check for errors.

See Also
checkID, checkAll, isErrorAny, isErrorID