AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.gis.TileImageProvider
All Implemented Interfaces:
java.io.Serializable

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

Constructor Summary

Constructors 
TileImageProvider​(ITileURLProvider tileURLProvider)  
Constructor Description

Method Summary

All Methods Static Methods Instance Methods Concrete Methods 
void addImageLoadedListener​(IImageLoadedListener listener)  
void cancelLoading()  
void destroy()  
byte[] getFromCache​(int x, int y, int z)  
java.awt.image.BufferedImage getImage​(int x, int y, int z)  
ITileURLProvider getTileURLProvider()  
boolean isLoading()  
static byte[] loadImage​(java.lang.String urlS, int connectTimeout, int readTimeout)  
void removeImageLoadedListener​(IImageLoadedListener listener)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

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

Constructor Detail

TileImageProvider

public TileImageProvider​(ITileURLProvider tileURLProvider)

Method Detail

getTileURLProvider

public final ITileURLProvider getTileURLProvider()

cancelLoading

public void cancelLoading()

getFromCache

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

getImage

public java.awt.image.BufferedImage getImage​(int x,
                                             int y,
                                             int z)

isLoading

@AnyLogicInternalAPI
public boolean isLoading()

loadImage

public static byte[] loadImage​(java.lang.String urlS,
                               int connectTimeout,
                               int readTimeout)

addImageLoadedListener

public void addImageLoadedListener​(IImageLoadedListener listener)

removeImageLoadedListener

public void removeImageLoadedListener​(IImageLoadedListener listener)

destroy

@AnyLogicInternalAPI
public void destroy()