Purple Code

com.purpletech.awt
Class BlankImageProducer

java.lang.Object
  |
  +--com.purpletech.awt.BlankImageProducer
All Implemented Interfaces:
java.awt.image.ImageProducer

public class BlankImageProducer
extends java.lang.Object
implements java.awt.image.ImageProducer

Produces an empty image. For feeding into routines that require an ImageProducer rather than just an Image.


Constructor Summary
BlankImageProducer(int width, int height)
           
BlankImageProducer(int width, int height, java.awt.Color c)
           
 
Method Summary
 void addConsumer(java.awt.image.ImageConsumer c)
           
 boolean isConsumer(java.awt.image.ImageConsumer c)
           
 void removeConsumer(java.awt.image.ImageConsumer c)
           
 void requestTopDownLeftRightResend(java.awt.image.ImageConsumer c)
           
 void startProduction(java.awt.image.ImageConsumer c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlankImageProducer

public BlankImageProducer(int width,
                          int height)

BlankImageProducer

public BlankImageProducer(int width,
                          int height,
                          java.awt.Color c)
Method Detail

addConsumer

public void addConsumer(java.awt.image.ImageConsumer c)
Specified by:
addConsumer in interface java.awt.image.ImageProducer

isConsumer

public boolean isConsumer(java.awt.image.ImageConsumer c)
Specified by:
isConsumer in interface java.awt.image.ImageProducer

removeConsumer

public void removeConsumer(java.awt.image.ImageConsumer c)
Specified by:
removeConsumer in interface java.awt.image.ImageProducer

startProduction

public void startProduction(java.awt.image.ImageConsumer c)
Specified by:
startProduction in interface java.awt.image.ImageProducer

requestTopDownLeftRightResend

public void requestTopDownLeftRightResend(java.awt.image.ImageConsumer c)
Specified by:
requestTopDownLeftRightResend in interface java.awt.image.ImageProducer

Documentation generated March 5 2003