Interface ImageOpObserver
- All Superinterfaces:
OpObserver<BufferedImage>
- All Known Implementing Classes:
Repainter
ImageOpObserver
s can be notified on the completion
of an ImageOp
.
Objects implementing ImageOpObserver
are intended to
be passed as an argument to {link ImageOp.getImage}, which which
call back imageOpChange(VASSAL.tools.imageop.ImageOp, boolean)
on completion.
The most common implementation of this interface is Repainter
,
which can be used to repaint portions of Component
s
which are waiting for images to be computed.
- Since:
- 3.1.0
- Author:
- Joel Uckelman
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
imageOpChange
(ImageOp op, boolean success) Called when theImageOp
under observation completes.Methods inherited from interface VASSAL.tools.opcache.OpObserver
cancelled, failed, interrupted, succeeded
-
Method Details
-
imageOpChange
Called when theImageOp
under observation completes.- Parameters:
op
- theImageOp
being observedsuccess
-true
iff theop
succeeded
-