|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.DynamicCacheLayerManager
public class DynamicCacheLayerManager
COM Class 'DynamicCacheLayerManager'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'Dynamic cache layer management utility class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.carto.IDynamicCacheLayerManager2 |
|---|
IID, IIDe5aec75c_5866_4d71_bcce_9d331e679027, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IDynamicCacheLayerManager |
|---|
IIDeda39ce4_100f_4817_9d38_0c62db03b2b1 |
| Constructor Summary | |
|---|---|
DynamicCacheLayerManager()
Constructs a DynamicCacheLayerManager using ArcGIS Engine. |
|
DynamicCacheLayerManager(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DynamicCacheLayerManager theDynamicCacheLayerManager = (DynamicCacheLayerManager) obj; |
|
| Method Summary | |
|---|---|
void |
connect(java.lang.String newFolderPath,
java.lang.String newFolderName)
Try to connect the given layer to a cache. |
void |
delete()
Delete the cache structure and tiles from the disk. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
double |
getDetailsThreshold()
The threshold to determine the level of detail to use. |
java.lang.String |
getFolderName()
If cache exists, returns the layername plus guid. |
java.lang.String |
getFolderPath()
The full path of the cache parent directory if the the cache exists. |
java.lang.String |
getFormat()
The name of the tile format which is used by the cache. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
double |
getMaxCacheScale()
The maximum scale by which tiles are to be generated. |
int |
getProgressiveDrawingLevels()
Number of coarse level data to draw while the current LOD tiles are being processed. |
int |
getProgressiveFetchingLevels()
Number of coarse level data to fetch while the current LOD tiles are being processed. |
int |
hashCode()
the hashcode for this object |
void |
init(IMap map,
ILayer layer)
Initialize the cache manager with the given map and layer. |
void |
invalidate(IEnvelope extent,
boolean doubleBuffer)
Invalidate a certain area of the cache, according to the given extent. |
boolean |
isAlwaysDrawCoarsestLevel()
Indicates whether to use the default coarse texture while the requested tile is being processed. |
boolean |
isCacheable()
Indicates whether the layer can have a dynamic cache. |
boolean |
isCached()
Indicates whether the layer is drawing while in cached mode. |
boolean |
isConsolidatedGroupLayer()
Indicates whether the given composite layer cache is consolidated. |
boolean |
isStrictOnDemandMode()
Indicates whether to use a coarse grained drawing in case where there is nothing else to render while waiting for the current map scale data to be cooked. |
void |
release()
Release a DynamicCacheLayerManager. |
void |
setAlwaysDrawCoarsestLevel(boolean alwaysDrawCoarsestLevel)
Indicates whether to use the default coarse texture while the requested tile is being processed. |
void |
setCached(boolean cached)
Indicates whether the layer is drawing while in cached mode. |
void |
setConsolidatedGroupLayer(boolean consolidated)
Indicates whether the given composite layer cache is consolidated. |
void |
setDetailsThreshold(double threshold)
The threshold to determine the level of detail to use. |
void |
setFolderPath(java.lang.String folderPath)
The full path of the cache parent directory if the the cache exists. |
void |
setFormat(java.lang.String format)
The name of the tile format which is used by the cache. |
void |
setMaxCacheScale(double maxScale)
The maximum scale by which tiles are to be generated. |
void |
setProgressiveDrawingLevels(int numOfProgressiveLevels)
Number of coarse level data to draw while the current LOD tiles are being processed. |
void |
setProgressiveFetchingLevels(int numOfProgressiveLevels)
Number of coarse level data to fetch while the current LOD tiles are being processed. |
void |
setStrictOnDemandMode(boolean strictOnDemandMode)
Indicates whether to use a coarse grained drawing in case where there is nothing else to render while waiting for the current map scale data to be cooked. |
void |
update(IEnvelope extent,
double fromMapScale,
double targetMapScale,
int updateMode)
Update the cache associated with the layer according to the given extent, between the from-scale to the target-scale and according to the update-mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicCacheLayerManager()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public DynamicCacheLayerManager(java.lang.Object obj)
throws java.io.IOException
DynamicCacheLayerManager theDynamicCacheLayerManager = (DynamicCacheLayerManager) obj;
obj to DynamicCacheLayerManager.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void init(IMap map,
ILayer layer)
throws java.io.IOException,
AutomationException
init in interface IDynamicCacheLayerManagermap - A reference to a com.esri.arcgis.carto.IMap (in)layer - A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getFolderName()
throws java.io.IOException,
AutomationException
getFolderName in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getFolderPath()
throws java.io.IOException,
AutomationException
getFolderPath in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFolderPath(java.lang.String folderPath)
throws java.io.IOException,
AutomationException
setFolderPath in interface IDynamicCacheLayerManagerfolderPath - The folderPath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCacheable()
throws java.io.IOException,
AutomationException
isCacheable in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws java.io.IOException,
AutomationException
delete in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void invalidate(IEnvelope extent,
boolean doubleBuffer)
throws java.io.IOException,
AutomationException
invalidate in interface IDynamicCacheLayerManagerextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)doubleBuffer - The doubleBuffer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getFormat()
throws java.io.IOException,
AutomationException
getFormat in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFormat(java.lang.String format)
throws java.io.IOException,
AutomationException
setFormat in interface IDynamicCacheLayerManagerformat - The format (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void connect(java.lang.String newFolderPath,
java.lang.String newFolderName)
throws java.io.IOException,
AutomationException
connect in interface IDynamicCacheLayerManagernewFolderPath - The newFolderPath (in)newFolderName - The newFolderName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void update(IEnvelope extent,
double fromMapScale,
double targetMapScale,
int updateMode)
throws java.io.IOException,
AutomationException
update in interface IDynamicCacheLayerManagerextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)fromMapScale - The fromMapScale (in)targetMapScale - The targetMapScale (in)updateMode - A com.esri.arcgis.carto.esriMapCacheUpdateMode constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isConsolidatedGroupLayer()
throws java.io.IOException,
AutomationException
isConsolidatedGroupLayer in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConsolidatedGroupLayer(boolean consolidated)
throws java.io.IOException,
AutomationException
setConsolidatedGroupLayer in interface IDynamicCacheLayerManagerconsolidated - The consolidated (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isStrictOnDemandMode()
throws java.io.IOException,
AutomationException
isStrictOnDemandMode in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStrictOnDemandMode(boolean strictOnDemandMode)
throws java.io.IOException,
AutomationException
setStrictOnDemandMode in interface IDynamicCacheLayerManagerstrictOnDemandMode - The strictOnDemandMode (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaxCacheScale()
throws java.io.IOException,
AutomationException
getMaxCacheScale in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxCacheScale(double maxScale)
throws java.io.IOException,
AutomationException
setMaxCacheScale in interface IDynamicCacheLayerManagermaxScale - The maxScale (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDetailsThreshold()
throws java.io.IOException,
AutomationException
getDetailsThreshold in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDetailsThreshold(double threshold)
throws java.io.IOException,
AutomationException
setDetailsThreshold in interface IDynamicCacheLayerManagerthreshold - The threshold (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getProgressiveDrawingLevels()
throws java.io.IOException,
AutomationException
getProgressiveDrawingLevels in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setProgressiveDrawingLevels(int numOfProgressiveLevels)
throws java.io.IOException,
AutomationException
setProgressiveDrawingLevels in interface IDynamicCacheLayerManagernumOfProgressiveLevels - The numOfProgressiveLevels (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getProgressiveFetchingLevels()
throws java.io.IOException,
AutomationException
getProgressiveFetchingLevels in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setProgressiveFetchingLevels(int numOfProgressiveLevels)
throws java.io.IOException,
AutomationException
setProgressiveFetchingLevels in interface IDynamicCacheLayerManagernumOfProgressiveLevels - The numOfProgressiveLevels (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAlwaysDrawCoarsestLevel()
throws java.io.IOException,
AutomationException
isAlwaysDrawCoarsestLevel in interface IDynamicCacheLayerManagerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAlwaysDrawCoarsestLevel(boolean alwaysDrawCoarsestLevel)
throws java.io.IOException,
AutomationException
setAlwaysDrawCoarsestLevel in interface IDynamicCacheLayerManageralwaysDrawCoarsestLevel - The alwaysDrawCoarsestLevel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCached()
throws java.io.IOException,
AutomationException
isCached in interface IDynamicCacheLayerManager2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCached(boolean cached)
throws java.io.IOException,
AutomationException
setCached in interface IDynamicCacheLayerManager2cached - The cached (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||