com.esri.arcgis.cartoUI
Interface IDatumChecker2

All Superinterfaces:
IDatumChecker, Serializable
All Known Implementing Classes:
DatumChecker

public interface IDatumChecker2
extends IDatumChecker, Serializable

Provides basic map access to members that check for datum inconsistencies.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean addLayerCheckBasic(IBasicMap basicMap, ILayer layer, int parentHWnd)
          Adds a layer and checks for datum inconsistencies.
 void setAppRegKey(String appName)
          Sets name of application for registry key lookup.
 boolean setSpatialReferenceCheckBasic(IBasicMap basicMap, ISpatialReference spatialReference, int parentHWnd)
          Checks for a change to the data frame's spatial reference.
 
Methods inherited from interface com.esri.arcgis.cartoUI.IDatumChecker
addLayerCheck, addLayerReset, setSpatialReferenceCheck
 

Method Detail

addLayerCheckBasic

boolean addLayerCheckBasic(IBasicMap basicMap,
                           ILayer layer,
                           int parentHWnd)
                           throws IOException,
                                  AutomationException
Adds a layer and checks for datum inconsistencies.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
basicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The okToAdd
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceCheckBasic

boolean setSpatialReferenceCheckBasic(IBasicMap basicMap,
                                      ISpatialReference spatialReference,
                                      int parentHWnd)
                                      throws IOException,
                                             AutomationException
Checks for a change to the data frame's spatial reference.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
basicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The okToChange
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAppRegKey

void setAppRegKey(String appName)
                  throws IOException,
                         AutomationException
Sets name of application for registry key lookup.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
appName - The appName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.