net.sourceforge.jsh3modtool.gui.imagetable.cache
Interface ThumbnailViewer

All Known Implementing Classes:
ImageCache

public interface ThumbnailViewer

A Viewer that can get thumbnails from the ThumbnailLoader

Author:
erma

Method Summary
 void setImage(ImageModel imageProps, java.awt.Image image)
          Notifies the thumbnail viewer that the supplied image has been updated.
 void setMessage(ImageModel imageProps, java.lang.String msg)
          Notifies the thumbnail viewer that the image couldnt be loaded.
 

Method Detail

setImage

void setImage(ImageModel imageProps,
              java.awt.Image image)
Notifies the thumbnail viewer that the supplied image has been updated.

Parameters:
imageProps - the image properties detailing which image that was updated.
image - the new raw image as an imagedata object.

setMessage

void setMessage(ImageModel imageProps,
                java.lang.String msg)
Notifies the thumbnail viewer that the image couldnt be loaded.

Parameters:
imageProps - the image properties detailing which image that was updated.
msg - the message stating what happened


Copyright © 2005 sourceforge.net. All Rights Reserved.