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 voidinitContent(PageContainer container, org.eclipse.swt.widgets.Composite composite)voidmapPainted(int tileCount, long time)Notifies listener that the control has been (re)paintedvoidtileCacheUpdated(int used, int size)Notifies listener that the tile cache has been updatedvoidtilePainted(TileRef tileRef)Notifies listener that a tile has been (re)paintedvoidupdateInfos()protected voidwidgetDisposed(org.eclipse.swt.events.DisposeEvent e)Methods inherited from class org.eclipse.nebula.widgets.geomap.internal.geomapbrowser.AbstractPage
addActionLink, addHeaderRow, addInfoText, getComposite, getContainer, getControlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.nebula.widgets.geomap.internal.geomapbrowser.Page
getControl
-
Constructor Details
-
Method Details
-
updateInfos
public void updateInfos() -
initContent
- Specified by:
initContentin classAbstractPage
-
widgetDisposed
protected void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)- Specified by:
widgetDisposedin classAbstractPage
-
tilePainted
Description copied from interface:InternalGeoMapListenerNotifies listener that a tile has been (re)painted- Specified by:
tilePaintedin interfaceInternalGeoMapListener- Parameters:
tileRef- the reference to the painted tile
-
mapPainted
public void mapPainted(int tileCount, long time)Description copied from interface:InternalGeoMapListenerNotifies listener that the control has been (re)painted- Specified by:
mapPaintedin 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:InternalGeoMapListenerNotifies listener that the tile cache has been updated- Specified by:
tileCacheUpdatedin interfaceInternalGeoMapListener- Parameters:
used- the used slots of the cachesize- the size of the cache
-