Class ImageListenerAdapter
java.lang.Object
ij.ImageListenerAdapter
- All Implemented Interfaces:
ImageListener
An Adapter class for the ImageListener interface. Note ImageListenerAdapter
supports notification when an ImagePlus gets saved.
With this adapter you need only override the methods that you require notification for.
TODO When ImageJ has a minimum support of Java8 consider updating ImageListener to provide default methods for all these callbacks as this will allow ImageListener interface to be used as mix-in class whereas Java single inheritance precludes that for this ImageListenerAdapter class.
- Author:
- Michael Ellis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidimageClosed(ImagePlus imp) voidimageOpened(ImagePlus imp) voidimageSaved(ImagePlus imp) voidimageUpdated(ImagePlus imp)
-
Constructor Details
-
ImageListenerAdapter
public ImageListenerAdapter()
-
-
Method Details
-
imageOpened
- Specified by:
imageOpenedin interfaceImageListener
-
imageClosed
- Specified by:
imageClosedin interfaceImageListener
-
imageUpdated
- Specified by:
imageUpdatedin interfaceImageListener
-
imageSaved
-