|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.cartoUI.DatumChecker
public class DatumChecker
Datum checker.
Constructor Summary | |
---|---|
DatumChecker()
Constructs a DatumChecker using ArcGIS Engine. |
|
DatumChecker(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(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
setAppRegKey(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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public DatumChecker() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic DatumChecker(Object obj) throws IOException
DatumChecker theDatumChecker = (DatumChecker) obj;
obj
to DatumChecker
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean addLayerCheck(IMap map, ILayer layer, int parentHWnd) throws IOException, AutomationException
addLayerCheck
in interface IDatumChecker
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLayerReset() throws IOException, AutomationException
addLayerReset
in interface IDatumChecker
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean setSpatialReferenceCheck(IMap map, ISpatialReference spatialReference, int parentHWnd) throws IOException, AutomationException
setSpatialReferenceCheck
in interface IDatumChecker
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean addLayerCheckBasic(IBasicMap basicMap, ILayer layer, int parentHWnd) throws IOException, AutomationException
addLayerCheckBasic
in interface IDatumChecker2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean setSpatialReferenceCheckBasic(IBasicMap basicMap, ISpatialReference spatialReference, int parentHWnd) throws IOException, AutomationException
setSpatialReferenceCheckBasic
in interface IDatumChecker2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAppRegKey(String appName) throws IOException, AutomationException
setAppRegKey
in interface IDatumChecker2
appName
- The appName (in)
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 |