Interface DataProviderHasNewImageEvent

All Superinterfaces:
MMEvent

public interface DataProviderHasNewImageEvent extends MMEvent
This class signifies that an image has been added to a DataProvider.

The default implementation of this Event posts on the DataProvider event bus. Subscribe using DataProvider.registerForEvents(Object).

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns Coords for the image.
    Provides the DataProvider this image was added to; potentially useful for code that listens to events from multiple DataProviders.
    Provides the newly-added image.
  • Method Details

    • getImage

      Image getImage()
      Provides the newly-added image.
      Returns:
      the Image that was just added to the DataProvider.
    • getCoords

      Coords getCoords()
      Returns Coords for the image.
      Returns:
      the Coords for the Image; identical to getImage().getCoords().
    • getDataProvider

      DataProvider getDataProvider()
      Provides the DataProvider this image was added to; potentially useful for code that listens to events from multiple DataProviders.
      Returns:
      the DataProvider this image was added to.