Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt
Class MediaTracker.MediaEntry  view MediaTracker.MediaEntry download MediaTracker.MediaEntry.java

java.lang.Object
  extended byjava.awt.MediaTracker.MediaEntry
All Implemented Interfaces:
java.awt.image.ImageObserver
Enclosing class:
MediaTracker

class MediaTracker.MediaEntry
extends java.lang.Object
implements java.awt.image.ImageObserver

This represents a media object that is tracked by a MediaTracker. It also implements a simple linked list.


Field Summary
(package private)  int height
          The height of the image.
(package private)  int id
          The ID of the media object.
(package private)  Image image
          The media object.
(package private)  MediaTracker.MediaEntry next
          The link to the next entry in the list.
(package private)  int status
          The tracking status.
(package private)  int width
          The width of the image.
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
(package private) MediaTracker.MediaEntry()
           
 
Method Summary
 boolean imageUpdate(Image img, int flags, int x, int y, int width, int height)
          Receives notification from an java.awt.image.ImageProducer that more data of the image is available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

int id
The ID of the media object.


image

Image image
The media object. (only images are supported ATM).


next

MediaTracker.MediaEntry next
The link to the next entry in the list.


status

int status
The tracking status.


width

int width
The width of the image.


height

int height
The height of the image.

Constructor Detail

MediaTracker.MediaEntry

MediaTracker.MediaEntry()
Method Detail

imageUpdate

public boolean imageUpdate(Image img,
                           int flags,
                           int x,
                           int y,
                           int width,
                           int height)
Receives notification from an java.awt.image.ImageProducer that more data of the image is available.

Specified by:
imageUpdate in interface java.awt.image.ImageObserver