Class InfoPage
java.lang.Object
org.eclipse.nebula.widgets.geomap.internal.geomapbrowser.AbstractPage
org.eclipse.nebula.widgets.geomap.internal.geomapbrowser.InfoPage
- All Implemented Interfaces:
Page
,InternalGeoMapListener
public class InfoPage extends AbstractPage implements Page, InternalGeoMapListener
- Version:
- $Revision$
-
Constructor Summary
Constructors Constructor Description InfoPage(GeoMapBrowser mapBrowser)
-
Method Summary
Modifier and Type Method 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)paintedvoid
tileCacheUpdated(int used, int size)
Notifies listener that the tile cache has been updatedvoid
tilePainted(TileRef tileRef)
Notifies listener that a tile has been (re)paintedvoid
updateInfos()
protected void
widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
Methods inherited from class org.eclipse.nebula.widgets.geomap.internal.geomapbrowser.AbstractPage
addActionLink, addHeaderRow, addInfoText, getComposite, getContainer, getControl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.nebula.widgets.geomap.internal.geomapbrowser.Page
getControl
-
Constructor Details
-
Method Details
-
updateInfos
public void updateInfos() -
initContent
- Specified by:
initContent
in classAbstractPage
-
widgetDisposed
protected void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)- Specified by:
widgetDisposed
in classAbstractPage
-
tilePainted
Description copied from interface:InternalGeoMapListener
Notifies listener that a tile has been (re)painted- Specified by:
tilePainted
in interfaceInternalGeoMapListener
- Parameters:
tileRef
- the reference to the painted tile
-
mapPainted
public void mapPainted(int tileCount, long time)Description copied from interface:InternalGeoMapListener
Notifies listener that the control has been (re)painted- Specified by:
mapPainted
in interfaceInternalGeoMapListener
- Parameters:
tileCount
- the number of tiles that where paintedtime
- the time it took
-
tileCacheUpdated
public void tileCacheUpdated(int used, int size)Description copied from interface:InternalGeoMapListener
Notifies listener that the tile cache has been updated- Specified by:
tileCacheUpdated
in interfaceInternalGeoMapListener
- Parameters:
used
- the used slots of the cachesize
- the size of the cache
-