Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class MediaTracker extends Object implements Serializable { // Public Constructor public MediaTracker(Component comp); // Constants public static final int ABORTED; public static final int COMPLETE; public static final int ERRORED; public static final int LOADING; // Public Instance Methods public void addImage(Image image, int id); public synchronized void addImage(Image image, int id, int w, int h); public boolean checkAll(); public synchronized boolean checkAll(boolean load); public boolean checkID(int id); public synchronized boolean checkID(int id, boolean load); public synchronized Object[] getErrorsAny(); public synchronized Object[] getErrorsID(int id); public synchronized boolean isErrorAny(); public synchronized boolean isErrorID(int id); 1.1 public synchronized void removeImage(Image image); 1.1 public synchronized void removeImage(Image image, int id); 1.1 public synchronized void removeImage(Image image, int id, int width, int height); public synchronized int statusAll(boolean load); public synchronized int statusID(int id, boolean load); public void waitForAll() throws InterruptedException; public synchronized boolean waitForAll(long ms) throws InterruptedException; public void waitForID(int id) throws InterruptedException; public synchronized boolean waitForID(int id, long ms) throws InterruptedException; }