FilteredImageSource, ImageConsumer
| Modifier and Type | Field and Description |
|---|---|
| protected ImageConsumer | consumer
The consumer of the particular image data stream for which this instance of the ImageFilter is filtering data. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public ImageFilter | Returns: anImageFilter used to perform the
filtering for the specified ImageConsumer.the specified ic)ImageConsumerReturns a unique instance of an ImageFilter object which will actually perform the filtering for the specified ImageConsumer. |
| public void | imageComplete(int status)
Implements java. Filters the information provided in the imageComplete method of the ImageConsumer interface. |
| public void | resendTopDownLeftRight(ImageProducer
the ImageProducer that is feeding this instance of
the filter - also the ImageProducer that the request should be
forwarded to if necessary ip)Responds to a request for a TopDownLeftRight (TDLR) ordered resend
of the pixel data from an |
| public void | setColorModel(ColorModel model)
Implements java. Filter the information provided in the setColorModel method of the ImageConsumer interface. |
| public void | setDimensions(int width, int height)
Implements java. Filters the information provided in the setDimensions method of the ImageConsumer interface. |
| public void | setHints(int hints)
Implements java. Filters the information provided in the setHints method of the ImageConsumer interface. |
| public void | setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize)
Implements java. Filters the information provided in the setPixels method of the ImageConsumer interface which takes an array of bytes. |
| public void | setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize)
Implements java. Filters the information provided in the setPixels method of the ImageConsumer interface which takes an array of integers. |
| public void | setProperties(Hashtable<?, ?>
the properties from the source object props)Implements java. Passes the properties from the source object along after adding a property indicating the stream of filters it has been run through. |
| consumer | back to summary |
|---|---|
| protected ImageConsumer consumer The consumer of the particular image data stream for which this instance of the ImageFilter is filtering data. It is not initialized during the constructor, but rather during the getFilterInstance() method call when the FilteredImageSource is creating a unique instance of this object for a particular image data stream.
| |
| ImageFilter | back to summary |
|---|---|
| public ImageFilter() Constructs an | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Clones this object. | |
| getFilterInstance | back to summary |
|---|---|
| public ImageFilter getFilterInstance(ImageConsumer ic) Returns a unique instance of an ImageFilter object which will actually perform the filtering for the specified ImageConsumer. The default implementation just clones this object. Note This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered. Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.
| |
| imageComplete | back to summary |
|---|---|
| public void imageComplete(int status) Implements java. Filters the information provided in the imageComplete method of the ImageConsumer interface. Note This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered. Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.
| |
| resendTopDownLeftRight | back to summary |
|---|---|
| public void resendTopDownLeftRight(ImageProducer ip) Responds to a request for a TopDownLeftRight (TDLR) ordered resend
of the pixel data from an
An
| |
| setColorModel | back to summary |
|---|---|
| public void setColorModel(ColorModel model) Implements java. Filter the information provided in the setColorModel method of the ImageConsumer interface. Note This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered. Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.
| |
| setDimensions | back to summary |
|---|---|
| public void setDimensions(int width, int height) Implements java. Filters the information provided in the setDimensions method of the ImageConsumer interface. Note This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered. Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.
| |
| setHints | back to summary |
|---|---|
| public void setHints(int hints) Implements java. Filters the information provided in the setHints method of the ImageConsumer interface. Note This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered. Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.
| |
| setPixels | back to summary |
|---|---|
| public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize) Implements java. Filters the information provided in the setPixels method of the ImageConsumer interface which takes an array of bytes. Note This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered. Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.
| |
| setPixels | back to summary |
|---|---|
| public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize) Implements java. Filters the information provided in the setPixels method of the ImageConsumer interface which takes an array of integers. Note This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered. Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.
| |
| setProperties | back to summary |
|---|---|
| public void setProperties(Hashtable<?, ?> props) Implements java. Passes the properties from the source object along after adding a property indicating the stream of filters it has been run through. Note This method is intended to be called by the ImageProducer of the Image whose pixels are being filtered. Developers using this class to filter pixels from an image should avoid calling this method directly since that operation could interfere with the filtering operation.
| |