Package VASSAL.tools.imageop
Interface ImageOpObserver
- All Superinterfaces:
OpObserver<BufferedImage>
- All Known Implementing Classes:
Repainter
ImageOpObservers 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 Components
which are waiting for images to be computed.
- Since:
- 3.1.0
- Author:
- Joel Uckelman
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidimageOpChange(ImageOp op, boolean success) Called when theImageOpunder observation completes.Methods inherited from interface VASSAL.tools.opcache.OpObserver
cancelled, failed, interrupted, succeeded
-
Method Details
-
imageOpChange
Called when theImageOpunder observation completes.- Parameters:
op- theImageOpbeing observedsuccess-trueiff theopsucceeded
-