Module ij
Package ij

Class ImageListenerAdapter

  • All Implemented Interfaces:
    ImageListener

    public class ImageListenerAdapter
    extends Object
    implements 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