java.awt
Class MediaTracker.MediaEntry

java.lang.Object
java.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
MediaTracker.MediaEntry
MediaTracker.MediaEntry()
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