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$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classInfoPage.Spec
-
Field Summary
Fields Modifier and Type Field Description private longcontrolPaintTimeprivate static java.util.logging.Loggerlogprivate GeoMapBrowsermapBrowserprivate InfoPage.Spec[]specsprivate org.eclipse.swt.widgets.Tabletableprivate inttileCacheSizeprivate inttileCacheUsedprivate inttilePaintCount
-
Constructor Summary
Constructors Constructor Description InfoPage(GeoMapBrowser mapBrowser)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.Stringformat(double d)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, 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
-
-
-
-
Field Detail
-
log
private static final java.util.logging.Logger log
-
mapBrowser
private final GeoMapBrowser mapBrowser
-
table
private org.eclipse.swt.widgets.Table table
-
specs
private InfoPage.Spec[] specs
-
tilePaintCount
private int tilePaintCount
-
controlPaintTime
private long controlPaintTime
-
tileCacheUsed
private int tileCacheUsed
-
tileCacheSize
private int tileCacheSize
-
-
Constructor Detail
-
InfoPage
public InfoPage(GeoMapBrowser mapBrowser)
-
-
Method Detail
-
format
private static java.lang.String format(double d)
-
updateInfos
public void updateInfos()
-
initContent
protected void initContent(PageContainer container, org.eclipse.swt.widgets.Composite composite)
- Specified by:
initContentin classAbstractPage
-
widgetDisposed
protected void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
- Specified by:
widgetDisposedin classAbstractPage
-
tilePainted
public void tilePainted(TileRef tileRef)
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
-
-