Responds to a request for a TopDownLeftRight (TDLR) ordered resend
of the pixel data from an
ImageConsumer
.
When an
ImageConsumer
being fed
by an instance of this
ImageFilter
requests a resend of the data in TDLR order,
the
FilteredImageSource
invokes this method of the
ImageFilter
.
An ImageFilter
subclass might override this method or not,
depending on if and how it can send data in TDLR order.
Three possibilities exist:
-
Do not override this method.
This makes the subclass use the default implementation,
which is to
forward the request
to the indicated
ImageProducer
using this filter as the requesting ImageConsumer
.
This behavior
is appropriate if the filter can determine
that it will forward the pixels
in TDLR order if its upstream producer object
sends them in TDLR order.
-
Override the method to simply send the data.
This is appropriate if the filter can handle the request itself
for example,
if the generated pixels have been saved in some sort of buffer.
-
Override the method to do nothing.
This is appropriate
if the filter cannot produce filtered data in TDLR order.
Parameters:
-
ip - the ImageProducer that is feeding this instance of
the filter - also the ImageProducer that the request should be
forwarded to if necessary
Throws:
-
NullPointerException - if
ip
is null
See Also:
ImageProducer.requestTopDownLeftRightResend(java.awt.image.ImageConsumer)
,