Page
, InternalGeoMapListener
public class InfoPage extends AbstractPage implements Page, InternalGeoMapListener
Constructor | Description |
---|---|
InfoPage(GeoMapBrowser mapBrowser) |
Modifier and Type | Method | Description |
---|---|---|
void |
mapPainted(int tileCount,
long time) |
Notifies listener that the control has been (re)painted
|
void |
tileCacheUpdated(int used,
int size) |
Notifies listener that the tile cache has been updated
|
void |
tilePainted(TileRef tileRef) |
Notifies listener that a tile has been (re)painted
|
void |
updateInfos() |
getControl
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl
public InfoPage(GeoMapBrowser mapBrowser)
public void updateInfos()
public void tilePainted(TileRef tileRef)
InternalGeoMapListener
tilePainted
in interface InternalGeoMapListener
tileRef
- the reference to the painted tilepublic void mapPainted(int tileCount, long time)
InternalGeoMapListener
mapPainted
in interface InternalGeoMapListener
tileCount
- the number of tiles that where paintedtime
- the time it tookpublic void tileCacheUpdated(int used, int size)
InternalGeoMapListener
tileCacheUpdated
in interface InternalGeoMapListener
used
- the used slots of the cachesize
- the size of the cache