Lines Matching defs:image

30 import java.awt.image.ImageObserver;
40 * method for each image to be tracked. In addition, each image can
49 * Tracking an animated image
51 * due to the multi-part nature of animated image
54 * <code>MediaTracker</code> treats an animated image
59 * that the image is completely loaded.
60 * If no <code>ImageObserver</code>s are observing the image
62 * the image might flush itself
110 * // First wait for the background image to fully load
138 * // The background image fills the frame so we
172 * tracked by a media tracker where the image will
204 * Adds an image to the list of images being tracked by this media
205 * tracker. The image will eventually be rendered at its default
207 * @param image the image to be tracked
208 * @param id an identifier used to track this image
210 public void addImage(Image image, int id) {
211 addImage(image, id, -1, -1);
215 * Adds a scaled image to the list of images being tracked
216 * by this media tracker. The image will eventually be
219 * @param image the image to be tracked
220 * @param id an identifier that can be used to track this image
221 * @param w the width at which the image is rendered
222 * @param h the height at which the image is rendered
224 public synchronized void addImage(Image image, int id, int w, int h) {
226 new ImageMediaEntry(this, image, id, w, h));
268 * If there is an error while loading or scaling an image, then that
269 * image is considered to have finished loading. Use the
292 * If there is an error while loading or scaling an image, that
293 * image is considered to have finished loading. Use the
379 * If there is an error while loading or scaling an image, then that
380 * image is considered to have finished loading. Use the
400 * If there is an error while loading or scaling an image, then
401 * that image is considered to have finished loading. Use the
446 * <code>COMPLETE</code>. An image that hasn't started
483 * If there is an error while loading or scaling an image, then that
484 * image is considered to have finished loading. Use the
508 * If there is an error while loading or scaling an image, then that
509 * image is considered to have finished loading. Use the
610 * If there is an error while loading or scaling an image, then that
611 * image is considered to have finished loading. Use the
632 * If there is an error while loading or scaling an image, then that
633 * image is considered to have finished loading. Use the
679 * <code>COMPLETE</code>. An image that hasn't started
713 * Removes the specified image from this media tracker.
714 * All instances of the specified image are removed,
716 * @param image the image to be removed
721 public synchronized void removeImage(Image image) {
726 if (cur.getMedia() == image) {
742 * Removes the specified image from the specified tracking
746 * @param image the image to be removed
747 * @param id the tracking ID frrom which to remove the image
752 public synchronized void removeImage(Image image, int id) {
757 if (cur.getID() == id && cur.getMedia() == image) {
773 * Removes the specified image with the specified
776 * @param image the image to be removed
777 * @param id the tracking ID from which to remove the image
784 public synchronized void removeImage(Image image, int id,
791 && ((ImageMediaEntry) cur).matches(image, width, height))
882 Image image;
893 image = img;
899 return (image == img && width == w && height == h);
903 return image;
908 int flags = tracker.target.checkImage(image, width, height, null);
922 if (tracker.target.prepareImage(image, width, height, this)) {