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