java.awt.image
Interface ImageProducer

All Known Implementing Classes:
FilteredImageSource, MemoryImageSource, RenderableImageProducer

public interface ImageProducer

An object implementing the ImageProducer interface can produce data for images. Each image has a corresponding ImageProducer which is needed for things such as resizing the image.

See Also:
ImageConsumer

Method Summary
 void addConsumer(ImageConsumer ic)
          Used to register an ImageConsumer with this ImageProducer.
 boolean isConsumer(ImageConsumer ic)
          Used to determine if the given ImageConsumer is already registered with this ImageProducer.
 void removeConsumer(ImageConsumer ic)
          Used to remove an ImageConsumer from the list of registered consumers for this ImageProducer.
 void requestTopDownLeftRightResend(ImageConsumer ic)
          Used to register an ImageConsumer with this ImageProducer and then request that this producer resend the image data in the order top-down, left-right.
 void startProduction(ImageConsumer ic)
          Used to register an ImageConsumer with this ImageProducer and then immediately start reconstruction of the image data to be delivered to all registered consumers.
 

Method Detail

addConsumer

void addConsumer(ImageConsumer ic)
Used to register an ImageConsumer with this ImageProducer.


isConsumer

boolean isConsumer(ImageConsumer ic)
Used to determine if the given ImageConsumer is already registered with this ImageProducer.


removeConsumer

void removeConsumer(ImageConsumer ic)
Used to remove an ImageConsumer from the list of registered consumers for this ImageProducer.


startProduction

void startProduction(ImageConsumer ic)
Used to register an ImageConsumer with this ImageProducer and then immediately start reconstruction of the image data to be delivered to all registered consumers.


requestTopDownLeftRightResend

void requestTopDownLeftRightResend(ImageConsumer ic)
Used to register an ImageConsumer with this ImageProducer and then request that this producer resend the image data in the order top-down, left-right.