java.awt.image

Interface ImageProducer

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
voidaddConsumer(ImageConsumer ic)
Used to register an ImageConsumer with this ImageProducer.
booleanisConsumer(ImageConsumer ic)
Used to determine if the given ImageConsumer is already registered with this ImageProducer.
voidremoveConsumer(ImageConsumer ic)
Used to remove an ImageConsumer from the list of registered consumers for this ImageProducer.
voidrequestTopDownLeftRightResend(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.
voidstartProduction(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

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

isConsumer

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

removeConsumer

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

requestTopDownLeftRightResend

public 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.

startProduction

public 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.