API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.image. ImageConsumer View Source
Author(s)
Jim Graham
Since
Version
1.25 02/14/06
Serial
Hierarchy
 ImageConsumer
Subinterfaces
Description
public interface ImageConsumer
  The interface for objects expressing interest in image data through the ImageProducer interfaces.
See also:    ImageProducer
Methods
Hide/Show inherited methods
public void imageComplete (int status)
  The imageComplete method is called when the ImageProducer is finished delivering all of the pixels that the source image contains, or when a single frame of a multi-frame animation has been completed, or when an error in loading or producing the image has occured.
public void setColorModel (ColorModel model)
  Sets the ColorModel object used for the majority of the pixels reported using the setPixels method calls.
public void setDimensions (int width, int height)
  The dimensions of the source image are reported using the setDimensions method call.
public void setHints (int hintflags)
  Sets the hints that the ImageConsumer uses to process the pixels delivered by the ImageProducer.
public void setPixels (int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize)
  Delivers the pixels of the image with one or more calls to this method.
public void setPixels (int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize)
  The pixels of the image are delivered using one or more calls to the setPixels method.
public void setProperties (Hashtable<Object, Object> props)
  Sets the extensible list of properties associated with this image.
Fields
Hide/Show inherited fields
publicfinalstatic int COMPLETESCANLINES = "4"
  The pixels will be delivered in (multiples of) complete scanlines at a time.
publicfinalstatic int IMAGEABORTED = "4"
  The image creation process was deliberately aborted.
publicfinalstatic int IMAGEERROR = "1"
  An error was encountered while producing the image.
publicfinalstatic int RANDOMPIXELORDER = "1"
  The pixels will be delivered in a random order.
publicfinalstatic int SINGLEFRAME = "16"
  The image contain a single static image.
publicfinalstatic int SINGLEFRAMEDONE = "2"
  One frame of the image is complete but there are more frames to be delivered.
publicfinalstatic int SINGLEPASS = "8"
  The pixels will be delivered in a single pass.
publicfinalstatic int STATICIMAGEDONE = "3"
  The image is complete and there are no more pixels or frames to be delivered.
publicfinalstatic int TOPDOWNLEFTRIGHT = "2"
  The pixels will be delivered in top-down, left-to-right order.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar