001    package org.openstreetmap.gui.jmapviewer.interfaces;
002    
003    //License: GPL. Copyright 2012 by Dirk St??cker
004    
005    import 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     */
013    public 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    }