APIdia Launch Partner
Top Fields Constructors Methods
sun.awt.image

public abstract Class ImageDecoder

extends Object
Class Inheritance
Known Direct Subclasses
sun.awt.image.JPEGImageDecoder, sun.awt.image.PNGImageDecoder, sun.awt.image.XbmImageDecoder, sun.awt.image.GifImageDecoder
Imports
java.util.Hashtable, java.io.InputStream, .IOException, java.awt.image.*

Field Summary

Modifier and TypeField and Description
protected boolean
pack-priv Thread
protected boolean
pack-priv InputStream
pack-priv ImageDecoder
pack-priv ImageConsumerQueue
pack-priv InputStreamImageSource

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public synchronized void
protected void
protected int
imageComplete(int status, boolean done)

public boolean
protected ImageConsumerQueue
public abstract void
public void
protected int
protected int
setDimensions(int w, int h)

protected int
setHints(int hints)

protected int
setPixels(int x, int y, int w, int h, ColorModel model, byte[] pix, int off, int scansize)

protected int
setPixels(int x, int y, int w, int h, ColorModel model, int[] pix, int off, int scansize)

protected int
setProperties(Hashtable<?, ?> props)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

abortedback to summary
protected boolean aborted
feederback to summary
pack-priv Thread feeder
finishedback to summary
protected boolean finished
inputback to summary
pack-priv InputStream input
nextback to summary
pack-priv ImageDecoder next
queueback to summary
pack-priv ImageConsumerQueue queue
sourceback to summary
pack-priv InputStreamImageSource source

Constructor Detail

ImageDecoderback to summary
public ImageDecoder(InputStreamImageSource src, InputStream is)

Method Detail

abortback to summary
public void abort()
closeback to summary
public synchronized void close()
headerCompleteback to summary
protected void headerComplete()
imageCompleteback to summary
protected int imageComplete(int status, boolean done)
isConsumerback to summary
public boolean isConsumer(ImageConsumer ic)
nextConsumerback to summary
protected ImageConsumerQueue nextConsumer(ImageConsumerQueue cq)
produceImageback to summary
public abstract void produceImage() throws IOException, ImageFormatException
removeConsumerback to summary
public void removeConsumer(ImageConsumer ic)
setColorModelback to summary
protected int setColorModel(ColorModel model)
setDimensionsback to summary
protected int setDimensions(int w, int h)
setHintsback to summary
protected int setHints(int hints)
setPixelsback to summary
protected int setPixels(int x, int y, int w, int h, ColorModel model, byte[] pix, int off, int scansize)
setPixelsback to summary
protected int setPixels(int x, int y, int w, int h, ColorModel model, int[] pix, int off, int scansize)
setPropertiesback to summary
protected int setProperties(Hashtable<?, ?> props)