Package noaa.coastwatch.gui
Interface ImageLoaderObserver
public interface ImageLoaderObserver
An image loading observer is capable of drawing small tiles of an
image as it is being loaded by an image loader.
- Since:
- 3.1.3
- Author:
- Peter Hollemans
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setImageDims
(Dimension dims) Sets the image dimensions.void
Signals that the image is finished loading.void
setImageTile
(Image tile, int x, int y) Sets a tile in the image.
-
Method Details
-
setImageDims
Sets the image dimensions. The loader observer should make the necessary arrangements for loading an image of this size.- Parameters:
dims
- the new image dimensions.
-
setImageTile
Sets a tile in the image. The loader observer should update itself with the new image tile.- Parameters:
tile
- the new image tile.x
- the top-left x coordinate of the tile within the image.y
- the top-left y coordinate of the tile within the image.
-
setImageLoaded
void setImageLoaded()Signals that the image is finished loading.
-