com.esri.arcgis.cartoUI
Class DatumChecker

java.lang.Object
  extended by com.esri.arcgis.cartoUI.DatumChecker
All Implemented Interfaces:
IDatumChecker, IDatumChecker2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DatumChecker
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDatumChecker, IDatumChecker2

COM Class 'DatumChecker'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCartoUI.olb'

Description 'Datum checker.' 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
 
Fields inherited from interface com.esri.arcgis.cartoUI.IDatumChecker2
IID, IID016fb9f5_81ff_4467_8ae5_35ccf3315a93, xxDummy
 
Fields inherited from interface com.esri.arcgis.cartoUI.IDatumChecker
IIDc3f131c5_2596_11d3_9f9d_00c04f6bc78e
 
Constructor Summary
DatumChecker()
          Constructs a DatumChecker using ArcGIS Engine.
DatumChecker(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DatumChecker theDatumChecker = (DatumChecker) obj;
 
Method Summary
 boolean addLayerCheck(IMap map, ILayer layer, int parentHWnd)
          Adds a layer and checks for datum inconsistencies.
 boolean addLayerCheckBasic(IBasicMap basicMap, ILayer layer, int parentHWnd)
          Adds a layer and checks for datum inconsistencies.
 void addLayerReset()
          Resets an AddLayer loop.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a DatumChecker.
 void setAppRegKey(java.lang.String appName)
          Sets name of application for registry key lookup.
 boolean setSpatialReferenceCheck(IMap map, ISpatialReference spatialReference, int parentHWnd)
          Checks for a change to the data frame's spatial reference.
 boolean setSpatialReferenceCheckBasic(IBasicMap basicMap, ISpatialReference spatialReference, int parentHWnd)
          Checks for a change to the data frame's spatial reference.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatumChecker

public DatumChecker()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a DatumChecker using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

DatumChecker

public DatumChecker(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DatumChecker theDatumChecker = (DatumChecker) obj;

Construct a DatumChecker using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DatumChecker.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a DatumChecker.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

addLayerCheck

public boolean addLayerCheck(IMap map,
                             ILayer layer,
                             int parentHWnd)
                      throws java.io.IOException,
                             AutomationException
Adds a layer and checks for datum inconsistencies.

Specified by:
addLayerCheck in interface IDatumChecker
Parameters:
map - A reference to a com.esri.arcgis.carto.IMap (in)
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The okToAdd
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLayerReset

public void addLayerReset()
                   throws java.io.IOException,
                          AutomationException
Resets an AddLayer loop.

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

setSpatialReferenceCheck

public boolean setSpatialReferenceCheck(IMap map,
                                        ISpatialReference spatialReference,
                                        int parentHWnd)
                                 throws java.io.IOException,
                                        AutomationException
Checks for a change to the data frame's spatial reference.

Specified by:
setSpatialReferenceCheck in interface IDatumChecker
Parameters:
map - A reference to a com.esri.arcgis.carto.IMap (in)
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The okToChange
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLayerCheckBasic

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

Specified by:
addLayerCheckBasic in interface IDatumChecker2
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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceCheckBasic

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

Specified by:
setSpatialReferenceCheckBasic in interface IDatumChecker2
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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAppRegKey

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

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