com.esri.arcgis.catalogUI
Class SpatialReferenceDialog

java.lang.Object
  extended by com.esri.arcgis.catalogUI.SpatialReferenceDialog
All Implemented Interfaces:
ISpatialReferenceDialog, ISpatialReferenceDialog2, ISpatialReferenceDialog3, ISpatialReferenceDialogContext, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SpatialReferenceDialog
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ISpatialReferenceDialog, ISpatialReferenceDialog2, ISpatialReferenceDialog3, ISpatialReferenceDialogContext

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

Description 'Provides access to the spatial reference dialog.' 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.catalogUI.ISpatialReferenceDialog
IID, IID16688540_54c4_11d2_aad3_00c04fa33a15, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalogUI.ISpatialReferenceDialog2
IID, IIDb088f162_cdd1_11d3_a097_00c04f6bdf0e, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalogUI.ISpatialReferenceDialog3
IID, IID7d6c0e92_cb16_48b3_9bf5_6b051045840c, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalogUI.ISpatialReferenceDialogContext
IID, IID8163a6ff_0ed6_4141_bc5d_feb844c1b30f, xxDummy
 
Constructor Summary
SpatialReferenceDialog()
          Constructs a SpatialReferenceDialog using ArcGIS Engine.
SpatialReferenceDialog(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SpatialReferenceDialog theSpatialReferenceDialog = (SpatialReferenceDialog) obj;
 
Method Summary
 ISpatialReference doModalCreate(boolean hasXY, boolean hasZ, boolean hasM, int hParent)
          Prompts the user to define a new spatial reference.
 ISpatialReference doModalCreate3(boolean hasZ, int hParent)
          Prompts the user to define a new spatial reference.
 ISpatialReference doModalEdit(ISpatialReference inputSpatialReference, boolean hasXY, boolean hasZ, boolean hasM, boolean coordPageReadOnly, boolean xyDomainPageReadOnly, boolean mDomainPageReadOnly, boolean zDomainPageReadOnly, int hParent)
          Displays/edits the properties of the given spatial reference.
 ISpatialReference doModalEdit(ISpatialReference inputSpatialReference, boolean hasXY, boolean hasZ, boolean hasM, boolean coordPageReadOnly, boolean domainPageReadOnly, int hParent)
          Displays/edits the properties of the given spatial reference.
 ISpatialReference doModalEdit3(ISpatialReference inputSpatialReference, boolean hasZ, int hParent)
          Displays/edits the properties of the given spatial reference.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IBasicMap getBasicMap()
          The basic map that provides the layer list and spatial filtering extent.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getXYFilter()
          Restriction on the type of coordinate system to show.
 int hashCode()
          the hashcode for this object
 void release()
          Release a SpatialReferenceDialog.
 void setBasicMapByRef(IBasicMap basicMap)
          The basic map that provides the layer list and spatial filtering extent.
 void setXYFilter(int filter)
          Restriction on the type of coordinate system to show.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialReferenceDialog

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

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

SpatialReferenceDialog

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

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

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 SpatialReferenceDialog.

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

doModalCreate

public ISpatialReference doModalCreate(boolean hasXY,
                                       boolean hasZ,
                                       boolean hasM,
                                       int hParent)
                                throws java.io.IOException,
                                       AutomationException
Prompts the user to define a new spatial reference.

Specified by:
doModalCreate in interface ISpatialReferenceDialog
Specified by:
doModalCreate in interface ISpatialReferenceDialog2
Parameters:
hasXY - The hasXY (in)
hasZ - The hasZ (in)
hasM - The hasM (in)
hParent - The hParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalEdit

public ISpatialReference doModalEdit(ISpatialReference inputSpatialReference,
                                     boolean hasXY,
                                     boolean hasZ,
                                     boolean hasM,
                                     boolean coordPageReadOnly,
                                     boolean domainPageReadOnly,
                                     int hParent)
                              throws java.io.IOException,
                                     AutomationException
Displays/edits the properties of the given spatial reference.

Specified by:
doModalEdit in interface ISpatialReferenceDialog
Parameters:
inputSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
hasXY - The hasXY (in)
hasZ - The hasZ (in)
hasM - The hasM (in)
coordPageReadOnly - The coordPageReadOnly (in)
domainPageReadOnly - The domainPageReadOnly (in)
hParent - The hParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalEdit

public ISpatialReference doModalEdit(ISpatialReference inputSpatialReference,
                                     boolean hasXY,
                                     boolean hasZ,
                                     boolean hasM,
                                     boolean coordPageReadOnly,
                                     boolean xyDomainPageReadOnly,
                                     boolean mDomainPageReadOnly,
                                     boolean zDomainPageReadOnly,
                                     int hParent)
                              throws java.io.IOException,
                                     AutomationException
Displays/edits the properties of the given spatial reference.

Specified by:
doModalEdit in interface ISpatialReferenceDialog2
Parameters:
inputSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
hasXY - The hasXY (in)
hasZ - The hasZ (in)
hasM - The hasM (in)
coordPageReadOnly - The coordPageReadOnly (in)
xyDomainPageReadOnly - The xyDomainPageReadOnly (in)
mDomainPageReadOnly - The mDomainPageReadOnly (in)
zDomainPageReadOnly - The zDomainPageReadOnly (in)
hParent - The hParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalCreate3

public ISpatialReference doModalCreate3(boolean hasZ,
                                        int hParent)
                                 throws java.io.IOException,
                                        AutomationException
Prompts the user to define a new spatial reference.

Specified by:
doModalCreate3 in interface ISpatialReferenceDialog3
Parameters:
hasZ - The hasZ (in)
hParent - The hParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalEdit3

public ISpatialReference doModalEdit3(ISpatialReference inputSpatialReference,
                                      boolean hasZ,
                                      int hParent)
                               throws java.io.IOException,
                                      AutomationException
Displays/edits the properties of the given spatial reference.

Specified by:
doModalEdit3 in interface ISpatialReferenceDialog3
Parameters:
inputSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
hasZ - The hasZ (in)
hParent - The hParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBasicMap

public IBasicMap getBasicMap()
                      throws java.io.IOException,
                             AutomationException
The basic map that provides the layer list and spatial filtering extent.

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

setBasicMapByRef

public void setBasicMapByRef(IBasicMap basicMap)
                      throws java.io.IOException,
                             AutomationException
The basic map that provides the layer list and spatial filtering extent.

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

getXYFilter

public int getXYFilter()
                throws java.io.IOException,
                       AutomationException
Restriction on the type of coordinate system to show.

Specified by:
getXYFilter in interface ISpatialReferenceDialogContext
Returns:
A com.esri.arcgis.catalogUI.esriSpatialReferenceXYFilter constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setXYFilter

public void setXYFilter(int filter)
                 throws java.io.IOException,
                        AutomationException
Restriction on the type of coordinate system to show.

Specified by:
setXYFilter in interface ISpatialReferenceDialogContext
Parameters:
filter - A com.esri.arcgis.catalogUI.esriSpatialReferenceXYFilter constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.