java.awt.image.MemoryImageSource (JDK 1.0)
This class is an ImageProducer that produces an image from data stored in memory. The various constructors specify image data, color model, array offset, scan line length, and properties in slightly different ways. The instance methods implement the standard ImageProducer interface that allows an ImageConsumer object to register interest in the image.
public classMemoryImageSourceextends Object implements ImageProducer { //Public ConstructorspublicMemoryImageSource(intw, inth, ColorModelcm, byte[]pix, intoff, intscan); publicMemoryImageSource(intw, inth, ColorModelcm, byte[]pix, intoff, intscan, Hashtableprops); publicMemoryImageSource(intw, inth, ColorModelcm, int[]pix, intoff, intscan); publicMemoryImageSource(intw, inth, ColorModelcm, int[]pix, intoff, intscan, Hashtableprops); publicMemoryImageSource(intw, inth, int[]pix, intoff, intscan); publicMemoryImageSource(intw, inth, int[]pix, intoff, intscan, Hashtableprops); //Public Instance Methodspublic synchronized voidaddConsumer(ImageConsumeric); //From ImageProducerpublic synchronized booleanisConsumer(ImageConsumeric); //From ImageProducer1.1 public voidnewPixels(); 1.1 public synchronized voidnewPixels(intx, inty, intw, inth); 1.1 public synchronized voidnewPixels(intx, inty, intw, inth, booleanframenotify); 1.1 public synchronized voidnewPixels(byte[]newpix, ColorModelnewmodel, intoffset, intscansize); 1.1 public synchronized voidnewPixels(int[]newpix, ColorModelnewmodel, intoffset, intscansize); public synchronized voidremoveConsumer(ImageConsumeric); //From ImageProducerpublic voidrequestTopDownLeftRightResend(ImageConsumeric); //From ImageProducer1.1 public synchronized voidsetAnimated(booleananimated); 1.1 public synchronized voidsetFullBufferUpdates(booleanfullbuffers); public voidstartProduction(ImageConsumeric); //From ImageProducer}