1 16 package swingwt.awt.image; 17 18 import java.util.Hashtable ; 19 20 public interface ImageConsumer { 21 22 int IMAGEERROR = 1; 23 int SINGLEFRAMEDONE = 2; 24 int STATICIMAGEDONE = 3; 25 int IMAGEABORTED = 4; 26 int RANDOMPIXELORDER = 1; 27 int TOPDOWNLEFTRIGHT = 2; 28 int COMPLETESCANLINES = 4; 29 int SINGLEPASS = 8; 30 int SINGLEFRAME = 16; 31 32 void setDimensions(int width, int height); 33 void setProperties(Hashtable props); 34 void setColorModel(ColorModel model); 35 void setHints(int hintflags); 36 void setPixels(int x, int y, int w, int h, ColorModel model, byte pixels[], int off, int scansize); 37 void setPixels(int x, int y, int w, int h, ColorModel model, int pixels[], int off, int scansize); 38 void imageComplete(int status); 39 40 } 41 | Popular Tags |