Class CachedImage



  • public class CachedImage
    extends Object
    A cached image is an instance of BufferedImage together with the information of it's location in form of a mapWindow.
    • Constructor Detail

      • CachedImage

        public CachedImage(BufferedImage image,
                           MapWindow mapWindow)
        Default constructor.
        Parameters:
        image - the image.
        mapWindow - the position information.
    • Method Detail

      • getImage

        public BufferedImage getImage()
        Returns:
        the image represented.
      • getMapWindow

        public MapWindow getMapWindow()
        Returns:
        the positional information.
      • setImage

        public void setImage(BufferedImage image)
        Parameters:
        image - the image to represent.
      • setMapWindow

        public void setMapWindow(MapWindow mapWindow)
        Parameters:
        mapWindow - the positional information.