Interface ImageLoaderListener

All Superinterfaces:
EventListener, SWTEventListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ImageLoaderListener extends SWTEventListener
Classes which implement this interface provide methods that deal with the incremental loading of image data.

After creating an instance of a class that implements this interface it can be added to an image loader using the addImageLoaderListener method and removed using the removeImageLoaderListener method. When image data is either partially or completely loaded, this method will be invoked.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sent when image data is either partially or completely loaded.
  • Method Details

    • imageDataLoaded

      void imageDataLoaded(ImageLoaderEvent e)
      Sent when image data is either partially or completely loaded.

      The timing of when this method is called varies depending on the format of the image being loaded.

      Parameters:
      e - an event containing information about the image loading operation