com.esri.arcgis.globecore
Class IGlobeTileGeneratorProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.globecore.IGlobeTileGeneratorProxy
All Implemented Interfaces:
IGlobeTileGenerator, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IGlobeTileGenerator2Proxy, IGlobeTileGenerator3Proxy

public class IGlobeTileGeneratorProxy
extends com.esri.arcgis.interop.Dispatch
implements IGlobeTileGenerator, java.io.Serializable

Internal use class Proxy for COM Interface 'IGlobeTileGenerator'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

Description: 'Provides access to members that control globe tile generation.' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeTileGenerator
IID, IIDe2318a63_2434_49ae_8535_985948cdeb28
 
Constructor Summary
  IGlobeTileGeneratorProxy()
          For internal use only
  IGlobeTileGeneratorProxy(java.lang.Object obj)
           
protected IGlobeTileGeneratorProxy(java.lang.Object obj, java.lang.String iid)
           
  IGlobeTileGeneratorProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGlobeTileGeneratorProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void deleteTiles(IGlobeServer pGlobeServer, int layerID, IEnvelope pExtent, int minLOD, int maxLOD, ITrackCancel pCancelTracker)
          Deletes all tiles from cache for a given layer within a given extent.
 void exit()
          Exits the tile generator host process.
 void generateConfigFiles()
          Generates a cache configuration file for the source layer.
 byte[] generateTile(int face, int level, int row, int column)
          Generates a tile for the source layer, and stores it into its cache file.
 void generateTiles(IGlobeServer pGlobeServer, int layerID, IEnvelope pExtent, int minLOD, int maxLOD, ITrackCancel pCancelTracker)
          Generate tiles in association with a GlobeServer object.
 IGlobeDisplay getDisplay()
          The associated globe display.
 ILayer getLayer()
          The source layer from which to generate tiles.
 IGlobeLayerProperties getLayerProperties()
          The globe layer properties.
 int getMaxTileCount()
          The maximum number of tiles to be generated.
 void putTilePosition(int face, int level, int row, int column)
          Sets the current tile position.
 void queryTilePosition(int[] pFace, int[] pLevel, int[] pRow, int[] pColumn)
          Queries for the current tile position.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setDisplayByRef(IGlobeDisplay ppDisplay)
          The associated globe display.
 void setLayerByRef(ILayer ppLayer)
          The source layer from which to generate tiles.
 void setLayerPropertiesByRef(IGlobeLayerProperties ppProps)
          The globe layer properties.
 void setMaxTileCount(int pNumTiles)
          The maximum number of tiles to be generated.
 void updateTiles(IGlobeServer pGlobeServer, int layerID, IEnvelope pExtent, int minLOD, int maxLOD, int updateMode, ITrackCancel pCancelTracker)
          Updates cache for a given layer within a given extent.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IGlobeTileGeneratorProxy

public IGlobeTileGeneratorProxy(java.lang.String CLSID,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.net.UnknownHostException,
                                java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IGlobeTileGeneratorProxy

public IGlobeTileGeneratorProxy()
For internal use only


IGlobeTileGeneratorProxy

public IGlobeTileGeneratorProxy(java.lang.Object obj)
                         throws java.io.IOException
Throws:
java.io.IOException

IGlobeTileGeneratorProxy

protected IGlobeTileGeneratorProxy(java.lang.Object obj,
                                   java.lang.String iid)
                            throws java.io.IOException
Throws:
java.io.IOException

IGlobeTileGeneratorProxy

protected IGlobeTileGeneratorProxy(java.lang.String CLSID,
                                   java.lang.String iid,
                                   java.lang.String host,
                                   com.esri.arcgis.interop.AuthInfo authInfo)
                            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getLayer

public ILayer getLayer()
                throws java.io.IOException,
                       AutomationException
The source layer from which to generate tiles.

Specified by:
getLayer in interface IGlobeTileGenerator
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerByRef

public void setLayerByRef(ILayer ppLayer)
                   throws java.io.IOException,
                          AutomationException
The source layer from which to generate tiles.

Specified by:
setLayerByRef in interface IGlobeTileGenerator
Parameters:
ppLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerProperties

public IGlobeLayerProperties getLayerProperties()
                                         throws java.io.IOException,
                                                AutomationException
The globe layer properties.

Specified by:
getLayerProperties in interface IGlobeTileGenerator
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeLayerProperties
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerPropertiesByRef

public void setLayerPropertiesByRef(IGlobeLayerProperties ppProps)
                             throws java.io.IOException,
                                    AutomationException
The globe layer properties.

Specified by:
setLayerPropertiesByRef in interface IGlobeTileGenerator
Parameters:
ppProps - A reference to a com.esri.arcgis.globecore.IGlobeLayerProperties (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplay

public IGlobeDisplay getDisplay()
                         throws java.io.IOException,
                                AutomationException
The associated globe display.

Specified by:
getDisplay in interface IGlobeTileGenerator
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDisplayByRef

public void setDisplayByRef(IGlobeDisplay ppDisplay)
                     throws java.io.IOException,
                            AutomationException
The associated globe display.

Specified by:
setDisplayByRef in interface IGlobeTileGenerator
Parameters:
ppDisplay - A reference to a com.esri.arcgis.globecore.IGlobeDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateConfigFiles

public void generateConfigFiles()
                         throws java.io.IOException,
                                AutomationException
Generates a cache configuration file for the source layer.

Specified by:
generateConfigFiles in interface IGlobeTileGenerator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateTile

public byte[] generateTile(int face,
                           int level,
                           int row,
                           int column)
                    throws java.io.IOException,
                           AutomationException
Generates a tile for the source layer, and stores it into its cache file.

Specified by:
generateTile in interface IGlobeTileGenerator
Parameters:
face - The face (in)
level - The level (in)
row - The row (in)
column - The column (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateTiles

public void generateTiles(IGlobeServer pGlobeServer,
                          int layerID,
                          IEnvelope pExtent,
                          int minLOD,
                          int maxLOD,
                          ITrackCancel pCancelTracker)
                   throws java.io.IOException,
                          AutomationException
Generate tiles in association with a GlobeServer object.

Specified by:
generateTiles in interface IGlobeTileGenerator
Parameters:
pGlobeServer - A reference to a com.esri.arcgis.globecore.IGlobeServer (in)
layerID - The layerID (in)
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
minLOD - The minLOD (in)
maxLOD - The maxLOD (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTilePosition

public void queryTilePosition(int[] pFace,
                              int[] pLevel,
                              int[] pRow,
                              int[] pColumn)
                       throws java.io.IOException,
                              AutomationException
Queries for the current tile position.

Specified by:
queryTilePosition in interface IGlobeTileGenerator
Parameters:
pFace - The pFace (out: use single element array)
pLevel - The pLevel (out: use single element array)
pRow - The pRow (out: use single element array)
pColumn - The pColumn (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putTilePosition

public void putTilePosition(int face,
                            int level,
                            int row,
                            int column)
                     throws java.io.IOException,
                            AutomationException
Sets the current tile position.

Specified by:
putTilePosition in interface IGlobeTileGenerator
Parameters:
face - The face (in)
level - The level (in)
row - The row (in)
column - The column (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxTileCount

public int getMaxTileCount()
                    throws java.io.IOException,
                           AutomationException
The maximum number of tiles to be generated.

Specified by:
getMaxTileCount in interface IGlobeTileGenerator
Returns:
The pNumTiles
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxTileCount

public void setMaxTileCount(int pNumTiles)
                     throws java.io.IOException,
                            AutomationException
The maximum number of tiles to be generated.

Specified by:
setMaxTileCount in interface IGlobeTileGenerator
Parameters:
pNumTiles - The pNumTiles (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exit

public void exit()
          throws java.io.IOException,
                 AutomationException
Exits the tile generator host process.

Specified by:
exit in interface IGlobeTileGenerator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateTiles

public void updateTiles(IGlobeServer pGlobeServer,
                        int layerID,
                        IEnvelope pExtent,
                        int minLOD,
                        int maxLOD,
                        int updateMode,
                        ITrackCancel pCancelTracker)
                 throws java.io.IOException,
                        AutomationException
Updates cache for a given layer within a given extent.

Specified by:
updateTiles in interface IGlobeTileGenerator
Parameters:
pGlobeServer - A reference to a com.esri.arcgis.globecore.IGlobeServer (in)
layerID - The layerID (in)
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
minLOD - The minLOD (in)
maxLOD - The maxLOD (in)
updateMode - A com.esri.arcgis.globecore.esriGlobeCacheUpdateMode constant (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteTiles

public void deleteTiles(IGlobeServer pGlobeServer,
                        int layerID,
                        IEnvelope pExtent,
                        int minLOD,
                        int maxLOD,
                        ITrackCancel pCancelTracker)
                 throws java.io.IOException,
                        AutomationException
Deletes all tiles from cache for a given layer within a given extent.

Specified by:
deleteTiles in interface IGlobeTileGenerator
Parameters:
pGlobeServer - A reference to a com.esri.arcgis.globecore.IGlobeServer (in)
layerID - The layerID (in)
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
minLOD - The minLOD (in)
maxLOD - The maxLOD (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.