|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalogUI.SpatialReferenceDialog
public class SpatialReferenceDialog
Provides access to the spatial reference dialog.
Use ISpatialReferenceDialog2 if you want to individually control which domain and precision (resolution) values (xy, z, or measure) are editable through the DoModelEdit method.
Constructor Summary | |
---|---|
SpatialReferenceDialog()
Constructs a SpatialReferenceDialog using ArcGIS Engine. |
|
SpatialReferenceDialog(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(Object o)
Compare this object with another |
IBasicMap |
getBasicMap()
The basic map that provides the layer list and spatial filtering extent. |
static String |
getClsid()
getClsid. |
int |
getXYFilter()
Restriction on the type of coordinate system to show. |
int |
hashCode()
the hashcode for this object |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SpatialReferenceDialog() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SpatialReferenceDialog(Object obj) throws IOException
SpatialReferenceDialog theSpatialReferenceDialog = (SpatialReferenceDialog) obj;
obj
to SpatialReferenceDialog
.
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 ISpatialReference doModalCreate(boolean hasXY, boolean hasZ, boolean hasM, int hParent) throws IOException, AutomationException
Set the hasXY, hasZ, and hasM parameters to True if you want to be able to define the domain and precision (resolution) values.
doModalCreate
in interface ISpatialReferenceDialog
doModalCreate
in interface ISpatialReferenceDialog2
hasXY
- The hasXY (in)hasZ
- The hasZ (in)hasM
- The hasM (in)hParent
- The hParent (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference doModalEdit(ISpatialReference inputSpatialReference, boolean hasXY, boolean hasZ, boolean hasM, boolean coordPageReadOnly, boolean domainPageReadOnly, int hParent) throws IOException, AutomationException
If the coordPageReadOnly parameter is True, the user cannot edit the coordinate system information. Set the hasXY, hasZ, or hasM parameters to True if you wish to display or edit the domain and precision (resolution) values. If the domainPageReadOnly parameter is True, you cannot edit the domain and precision (resolution) values.
doModalEdit
in interface ISpatialReferenceDialog
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference doModalEdit(ISpatialReference inputSpatialReference, boolean hasXY, boolean hasZ, boolean hasM, boolean coordPageReadOnly, boolean xyDomainPageReadOnly, boolean mDomainPageReadOnly, boolean zDomainPageReadOnly, int hParent) throws IOException, AutomationException
Provides access to the XY, Z, and measure domain pages properties.
If the coordPageReadOnly parameter is True, the user cannot edit the coordinate system information. Set the hasXY, hasZ, or hasM parameters to True if you wish to display or edit the domain and precision (resolution) values. If the xyDomainPageReadOnly, mDomainPageReadOnly, or zDomainPageReadOnly parameters are True, you cannot edit the corresponding domain and precision (resolution) values.
doModalEdit
in interface ISpatialReferenceDialog2
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference doModalCreate3(boolean hasZ, int hParent) throws IOException, AutomationException
This method is not implemented.
doModalCreate3
in interface ISpatialReferenceDialog3
hasZ
- The hasZ (in)hParent
- The hParent (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference doModalEdit3(ISpatialReference inputSpatialReference, boolean hasZ, int hParent) throws IOException, AutomationException
doModalEdit3
in interface ISpatialReferenceDialog3
inputSpatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)hasZ
- The hasZ (in)hParent
- The hParent (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IBasicMap getBasicMap() throws IOException, AutomationException
getBasicMap
in interface ISpatialReferenceDialogContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBasicMapByRef(IBasicMap basicMap) throws IOException, AutomationException
setBasicMapByRef
in interface ISpatialReferenceDialogContext
basicMap
- A reference to a com.esri.arcgis.carto.IBasicMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getXYFilter() throws IOException, AutomationException
getXYFilter
in interface ISpatialReferenceDialogContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setXYFilter(int filter) throws IOException, AutomationException
setXYFilter
in interface ISpatialReferenceDialogContext
filter
- A com.esri.arcgis.catalogUI.esriSpatialReferenceXYFilter constant (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 |