swingwt.awt.image
Class MemoryImageSource

java.lang.Object
  extended byswingwt.awt.image.MemoryImageSource
All Implemented Interfaces:
ImageProducer

public class MemoryImageSource
extends java.lang.Object
implements ImageProducer

TODO: implement


Constructor Summary
MemoryImageSource(int w, int h, ColorModel cm, byte[] pix, int off, int scan)
           
MemoryImageSource(int w, int h, ColorModel cm, byte[] pix, int off, int scan, java.util.Hashtable props)
           
MemoryImageSource(int w, int h, ColorModel cm, int[] pix, int off, int scan)
           
MemoryImageSource(int w, int h, ColorModel cm, int[] pix, int off, int scan, java.util.Hashtable props)
           
MemoryImageSource(int w, int h, int[] pix, int off, int scan)
           
MemoryImageSource(int w, int h, int[] pix, int off, int scan, java.util.Hashtable props)
           
 
Method Summary
 void addConsumer(ImageConsumer ic)
           
 boolean isConsumer(ImageConsumer ic)
           
 void newPixels()
           
 void newPixels(byte[] newpix, ColorModel newmodel, int offset, int scansize)
           
 void newPixels(int[] newpix, ColorModel newmodel, int offset, int scansize)
           
 void newPixels(int x, int y, int w, int h)
           
 void newPixels(int x, int y, int w, int h, boolean framenotify)
           
 void removeConsumer(ImageConsumer ic)
           
 void requestTopDownLeftRightResend(ImageConsumer ic)
           
 void setAnimated(boolean animated)
           
 void setFullBufferUpdates(boolean fullbuffers)
           
 void startProduction(ImageConsumer ic)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryImageSource

public MemoryImageSource(int w,
                         int h,
                         int[] pix,
                         int off,
                         int scan)

MemoryImageSource

public MemoryImageSource(int w,
                         int h,
                         int[] pix,
                         int off,
                         int scan,
                         java.util.Hashtable props)

MemoryImageSource

public MemoryImageSource(int w,
                         int h,
                         ColorModel cm,
                         byte[] pix,
                         int off,
                         int scan)

MemoryImageSource

public MemoryImageSource(int w,
                         int h,
                         ColorModel cm,
                         byte[] pix,
                         int off,
                         int scan,
                         java.util.Hashtable props)

MemoryImageSource

public MemoryImageSource(int w,
                         int h,
                         ColorModel cm,
                         int[] pix,
                         int off,
                         int scan)

MemoryImageSource

public MemoryImageSource(int w,
                         int h,
                         ColorModel cm,
                         int[] pix,
                         int off,
                         int scan,
                         java.util.Hashtable props)
Method Detail

addConsumer

public void addConsumer(ImageConsumer ic)
Specified by:
addConsumer in interface ImageProducer

isConsumer

public boolean isConsumer(ImageConsumer ic)
Specified by:
isConsumer in interface ImageProducer

removeConsumer

public void removeConsumer(ImageConsumer ic)
Specified by:
removeConsumer in interface ImageProducer

startProduction

public void startProduction(ImageConsumer ic)
Specified by:
startProduction in interface ImageProducer

requestTopDownLeftRightResend

public void requestTopDownLeftRightResend(ImageConsumer ic)
Specified by:
requestTopDownLeftRightResend in interface ImageProducer

newPixels

public void newPixels()

newPixels

public void newPixels(byte[] newpix,
                      ColorModel newmodel,
                      int offset,
                      int scansize)

newPixels

public void newPixels(int[] newpix,
                      ColorModel newmodel,
                      int offset,
                      int scansize)

newPixels

public void newPixels(int x,
                      int y,
                      int w,
                      int h)

newPixels

public void newPixels(int x,
                      int y,
                      int w,
                      int h,
                      boolean framenotify)

setAnimated

public void setAnimated(boolean animated)

setFullBufferUpdates

public void setFullBufferUpdates(boolean fullbuffers)