Package net.sf.gridarta.action.exportmap
Interface ExportMapProgress
-
public interface ExportMapProgressInterface for receiving progress information while the map is exported.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancancel()Will be called regularly while exporting the map.voidsetMax(int max)Sets the number of tiled maps that have been discovered so far.voidsetValue(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 mapsimage- 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
-
-