All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.visualtek.png.PNGProducer

java.lang.Object
   |
   +----com.visualtek.png.PNGProducer

public class PNGProducer
extends Object
implements ImageProducer

Constructor Index

 o PNGProducer()
Constructs an unitialised ImageProducer object.
 o PNGProducer(InputStream)
Constructs an ImageProducer object from an PNG bitmap to produce data for an Image object.

Method Index

 o addConsumer(ImageConsumer)
Adds an ImageConsumer to the list of consumers interested in data for this image.
 o init(InputStream)
 o isConsumer(ImageConsumer)
Determine if an ImageConsumer is on the list of consumers currently interested in data for this image.
 o removeConsumer(ImageConsumer)
Remove an ImageConsumer from the list of consumers interested in data for this image.
 o requestTopDownLeftRightResend(ImageConsumer)
Requests that a given ImageConsumer have the image data delivered one more time in top-down, left-right order.
 o startProduction(ImageConsumer)
Adds an ImageConsumer to the list of consumers interested in data for this image, and immediately start delivery of the image data through the ImageConsumer interface.

Constructors

 o PNGProducer
 public PNGProducer() throws PNGException, IOException
Constructs an unitialised ImageProducer object.

 o PNGProducer
 public PNGProducer(InputStream istream) throws PNGException, IOException
Constructs an ImageProducer object from an PNG bitmap to produce data for an Image object.

Parameters:
istream - PNG input stream

Methods

 o init
 public void init(InputStream istream) throws PNGException, IOException
 o addConsumer
 public synchronized void addConsumer(ImageConsumer ic)
Adds an ImageConsumer to the list of consumers interested in data for this image.

See Also:
ImageConsumer
 o isConsumer
 public synchronized boolean isConsumer(ImageConsumer ic)
Determine if an ImageConsumer is on the list of consumers currently interested in data for this image.

Returns:
true if the ImageConsumer is on the list; false otherwise
See Also:
ImageConsumer
 o removeConsumer
 public synchronized void removeConsumer(ImageConsumer ic)
Remove an ImageConsumer from the list of consumers interested in data for this image.

See Also:
ImageConsumer
 o startProduction
 public void startProduction(ImageConsumer ic)
Adds an ImageConsumer to the list of consumers interested in data for this image, and immediately start delivery of the image data through the ImageConsumer interface.

See Also:
ImageConsumer
 o requestTopDownLeftRightResend
 public void requestTopDownLeftRightResend(ImageConsumer ic)
Requests that a given ImageConsumer have the image data delivered one more time in top-down, left-right order.

See Also:
ImageConsumer

All Packages  Class Hierarchy  This Package  Previous  Next  Index