Revision 990 org.gvsig.raster.cache/trunk/org.gvsig.raster.cache/org.gvsig.raster.cache.lib.api/src/main/java/org/gvsig/raster/cache/tile/Tile.java

View differences:

Tile.java
25 25
import java.awt.geom.Rectangle2D;
26 26
import java.io.File;
27 27

  
28
import org.gvsig.raster.cache.tile.pool.AtomicTask;
29
import org.gvsig.raster.cache.tile.pool.TilePipe;
30
import org.gvsig.raster.cache.tile.provider.Downloader;
31
import org.gvsig.compat.net.ICancellable;
32

  
28 33
/**
29 34
 * Tile structure for requests
30 35
 *
......
246 251
	 */
247 252
	public boolean isCorrupt();
248 253
	
254
	/**
255
	 * Sets the pipe of tiles
256
	 * @param sharedPipe
257
	 */
258
	public void setSharedPipe(TilePipe sharedPipe);
259
	
260
	/**
261
	 * Sets the downloader for this tile
262
	 * @param downloader
263
	 */
264
	public void setDownloader(Downloader downloader);
265
	
266
	/**
267
	 * Gets the image that represent a tile while is downloading
268
	 * @return
269
	 */
270
	public Object[] getDownloadingImage();
271
	
272
	/**
273
	 * Gets the image that represent a crash tile
274
	 * @return
275
	 */
276
	public Object[] getCrashImage();
277
	
278
	/**
279
	 * Returns true if downloading has been canceled. This is useful when a tile is taking
280
	 * a lot of time. The task which will throw this action could cancel the process.
281
	 * @return
282
	 */
283
	public ICancellable getCancelled();
249 284
}

Also available in: Unified diff