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
-
PNGProducer()
- Constructs an unitialised ImageProducer object.
-
PNGProducer(InputStream)
- Constructs an ImageProducer object from an PNG bitmap
to produce data for an Image object.
-
addConsumer(ImageConsumer)
- Adds an ImageConsumer to the list of consumers interested in
data for this image.
-
init(InputStream)
-
-
isConsumer(ImageConsumer)
- Determine if an ImageConsumer is on the list of consumers currently
interested in data for this image.
-
removeConsumer(ImageConsumer)
- Remove an ImageConsumer from the list of consumers interested in
data for this image.
-
requestTopDownLeftRightResend(ImageConsumer)
- Requests that a given ImageConsumer have the image data delivered
one more time in top-down, left-right order.
-
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.
PNGProducer
public PNGProducer() throws PNGException, IOException
- Constructs an unitialised ImageProducer object.
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
init
public void init(InputStream istream) throws PNGException, IOException
addConsumer
public synchronized void addConsumer(ImageConsumer ic)
- Adds an ImageConsumer to the list of consumers interested in
data for this image.
- See Also:
- ImageConsumer
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
removeConsumer
public synchronized void removeConsumer(ImageConsumer ic)
- Remove an ImageConsumer from the list of consumers interested in
data for this image.
- See Also:
- ImageConsumer
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
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