001// License: GPL. For details, see Readme.txt file. 002package org.openstreetmap.gui.jmapviewer.interfaces; 003 004import org.openstreetmap.gui.jmapviewer.Tile; 005 006/** 007 * Interface for implementing a tile loading job. Tiles are usually loaded via HTTP 008 * or from a file. 009 * 010 * @author Dirk St?cker 011 */ 012public interface TileJob extends Runnable { 013 014 /** 015 * Function to return the tile associated with the job 016 * 017 * @return {@link Tile} to be handled 018 */ 019 public Tile getTile(); 020}