com.supermap.services.components.impl
Class GDPTileBuilder
- java.lang.Object
-
- com.supermap.services.components.impl.GDPTileBuilder
-
- All Implemented Interfaces:
- MapTileBuilder, TileBuilder, java.lang.Runnable
public class GDPTileBuilder extends java.lang.Object implements MapTileBuilder, java.lang.Runnable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.supermap.services.components.TileBuilder
TileBuilder.BuildTileProcessListener
-
-
Constructor Summary
Constructors Constructor and Description GDPTileBuilder(CheckedJobBuildConfig buildConfig)
-
Method Summary
Methods Modifier and Type Method and Description voidaddListener(TileBuilder.BuildTileProcessListener listener)Sets the tiling task execution status listenervoiddispose()Logs off the current tile generatorjava.lang.RunnablegetRunnable()Returns theRunnableinstance of the tile generator for commiting to the execution in the thread pool.voidinit()Initialize the tile generatorvoidrun()voidsetFormat(OutputFormat pFormat)Sets the tile formatvoidsetKvStore(KeyValueStore kvStore)Sets the key value to the memory, the user saves the white chart informationvoidsetMap(Map pMap)Sets the map business component for tilingvoidsetMapName(java.lang.String pMapName)Set the map namevoidsetOriginalPoint(Point2D pOriginalPoint)Sets the origin point of the map tilevoidsetTask(TileTask task, TaskExecutingState executingState)Sets the tiling task information and task execution status.voidsetTileSize(int pImageSize)Sets the tile sizevoidsetTileStore(TileStore pTileStore)Sets the tiling memoryvoidsetTileVersion(java.lang.String tileVersion)Sets the tile versionvoidsetTransparent(boolean pTransparent)Whether the settings are transparent
-
-
-
Constructor Detail
-
GDPTileBuilder
public GDPTileBuilder(CheckedJobBuildConfig buildConfig)
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
setMap
public void setMap(Map pMap)
Description copied from interface:MapTileBuilderSets the map business component for tiling
- Specified by:
setMapin interfaceMapTileBuilder
-
setTask
public void setTask(TileTask task, TaskExecutingState executingState)
Description copied from interface:TileBuilderSets the tiling task information and task execution status.
- Specified by:
setTaskin interfaceTileBuilder
-
setTileStore
public void setTileStore(TileStore pTileStore)
Description copied from interface:TileBuilderSets the tiling memory
- Specified by:
setTileStorein interfaceTileBuilder
-
setMapName
public void setMapName(java.lang.String pMapName)
Description copied from interface:MapTileBuilderSet the map name
- Specified by:
setMapNamein interfaceMapTileBuilder
-
setOriginalPoint
public void setOriginalPoint(Point2D pOriginalPoint)
Description copied from interface:TileBuilderSets the origin point of the map tile
- Specified by:
setOriginalPointin interfaceTileBuilder
-
addListener
public void addListener(TileBuilder.BuildTileProcessListener listener)
Description copied from interface:TileBuilderSets the tiling task execution status listener
- Specified by:
addListenerin interfaceTileBuilder
-
setFormat
public void setFormat(OutputFormat pFormat)
Description copied from interface:TileBuilderSets the tile format
- Specified by:
setFormatin interfaceTileBuilder
-
setTileSize
public void setTileSize(int pImageSize)
Description copied from interface:TileBuilderSets the tile size
- Specified by:
setTileSizein interfaceTileBuilder
-
setTransparent
public void setTransparent(boolean pTransparent)
Description copied from interface:MapTileBuilderWhether the settings are transparent
- Specified by:
setTransparentin interfaceMapTileBuilder
-
setTileVersion
public void setTileVersion(java.lang.String tileVersion)
Description copied from interface:TileBuilderSets the tile version
- Specified by:
setTileVersionin interfaceTileBuilder
-
setKvStore
public void setKvStore(KeyValueStore kvStore)
Description copied from interface:TileBuilderSets the key value to the memory, the user saves the white chart information
- Specified by:
setKvStorein interfaceTileBuilder
-
dispose
public void dispose()
Description copied from interface:TileBuilderLogs off the current tile generator
- Specified by:
disposein interfaceTileBuilder
-
getRunnable
public java.lang.Runnable getRunnable()
Description copied from interface:TileBuilderReturns the
Runnableinstance of the tile generator for commiting to the execution in the thread pool.- Specified by:
getRunnablein interfaceTileBuilder- Returns:
-
init
public void init()
Description copied from interface:TileBuilderInitialize the tile generator
- Specified by:
initin interfaceTileBuilder
-
-