public class InfoPage extends AbstractPage implements Page, InternalGeoMapListener
Constructor and Description |
---|
InfoPage(GeoMapBrowser mapBrowser) |
Modifier and Type | Method and Description |
---|---|
protected void |
initContent(PageContainer container,
org.eclipse.swt.widgets.Composite composite) |
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() |
protected void |
widgetDisposed(org.eclipse.swt.events.DisposeEvent e) |
addActionLink, addHeaderRow, addInfoText, getComposite, getContainer, getControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl
public InfoPage(GeoMapBrowser mapBrowser)
public void updateInfos()
protected void initContent(PageContainer container, org.eclipse.swt.widgets.Composite composite)
initContent
in class AbstractPage
protected void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
widgetDisposed
in class AbstractPage
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