Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class PixelGrabber extends Object implements ImageConsumer { // Public Constructors public PixelGrabber(Image img, int x, int y, int w, int h, int[] pix, int off, int scansize); public PixelGrabber(ImageProducer ip, int x, int y, int w, int h, int[] pix, int off, int scansize); 1.1 public PixelGrabber(Image img, int x, int y, int w, int h, boolean forceRGB); // Public Instance Methods 1.1 public synchronized void abortGrabbing(); 1.1 public synchronized ColorModel getColorModel(); 1.1 public synchronized int getHeight(); 1.1 public synchronized Object getPixels(); 1.1 public synchronized int getStatus(); 1.1 public synchronized int getWidth(); public boolean grabPixels() throws InterruptedException; public synchronized boolean grabPixels(long ms) throws InterruptedException; public synchronized void imageComplete(int status); public void setColorModel(ColorModel model); public void setDimensions(int width, int height); public void setHints(int hints); public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, byte[] pixels, int srcOff, int srcScan); public void setPixels(int srcX, int srcY, int srcW, int srcH, ColorModel model, int[] pixels, int srcOff, int srcScan); public void setProperties(Hashtable props); 1.1 public synchronized void startGrabbing(); public synchronized int status(); }