Interface ExportMapProgress


  • public interface ExportMapProgress
    Interface for receiving progress information while the map is exported.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean cancel()
      Will be called regularly while exporting the map.
      void setMax​(int max)
      Sets the number of tiled maps that have been discovered so far.
      void setValue​(int value, @NotNull java.awt.image.BufferedImage image)
      Sets the number of tiled maps that have been rendered so far.
    • Method Detail

      • setMax

        void setMax​(int max)
        Sets the number of tiled maps that have been discovered so far.
        Parameters:
        max - the number of tiled maps
      • setValue

        void setValue​(int value,
                      @NotNull
                      @NotNull java.awt.image.BufferedImage image)
        Sets the number of tiled maps that have been rendered so far.
        Parameters:
        value - the number of tiled maps
        image - the preview image; must not be modified
      • cancel

        boolean cancel()
        Will be called regularly while exporting the map.
        Returns:
        whether the user wants to cancel the process