AnyLogic
Expand
Font size
All Implemented Interfaces:
Serializable

@AnyLogicInternalAPI
public class TileImageProvider
extends Object
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
TileImageProvider(ITileURLProvider tileURLProvider) 

Method Summary

Modifier and TypeMethodDescription
voidaddImageLoadedListener(IImageLoadedListener listener) 
voidcancelLoading() 
voiddestroy() 
final byte[]getFromCache(int x, int y, int z) 
BufferedImagegetImage(int x, int y, int z) 
final ITileURLProvidergetTileURLProvider() 
booleanisLoading() 
static byte[]loadImage(String urlS, int connectTimeout, int readTimeout) 
voidremoveImageLoadedListener(IImageLoadedListener listener) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

TileImageProvider

public TileImageProvider(ITileURLProvider tileURLProvider)

Method Details

getTileURLProvider

public final ITileURLProvider getTileURLProvider()

cancelLoading

public void cancelLoading()

getFromCache

public final byte[] getFromCache(int x,
 int y,
 int z)

getImage

public BufferedImage getImage(int x,
 int y,
 int z)

isLoading

@AnyLogicInternalAPI
public boolean isLoading()

loadImage

public static byte[] loadImage(String urlS,
 int connectTimeout,
 int readTimeout)

addImageLoadedListener

public void addImageLoadedListener(IImageLoadedListener listener)

removeImageLoadedListener

public void removeImageLoadedListener(IImageLoadedListener listener)

destroy

@AnyLogicInternalAPI
public void destroy()