<filename>src/thobe/mapview/kernel/tileloader/TileLoaderListener.java
/*
 *  Copyright (C) 2013, <NAME>. All rights reserved.
 *  Licensed under the New BSD License (3-clause lic)
 *  See attached license-file.
 *
 *	Author: 	<NAME>
 *	EMail:		<EMAIL>
 *  Project:    MapViewWidget
 */
package thobe.mapview.kernel.tileloader;

import java.awt.Image;

/**
 * @author <NAME>
 * @source TileLoaderListener.java
 * @date Nov 30, 2013
 */
public interface TileLoaderListener
{
	enum FailReason
	{
		CANCELLED, ERROR;
	};

	public void onTileLoadRequestComplete( String tileId, Image image );

	public void onTileLoadRequestStarted( String tileId );

	public void onTileLoadRequestFailed( String tileId, FailReason reason, String cause );

}
