com.esri.arcgis.trackinganalyst
Class TxSpatialReferenceChooser

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.TxSpatialReferenceChooser
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ITxSpatialReferenceChooser, Serializable

public class TxSpatialReferenceChooser
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ITxSpatialReferenceChooser

This class implements a dialog that allows a user to choose a predefined spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also:
Serialized Form

Constructor Summary
TxSpatialReferenceChooser()
          Constructs a TxSpatialReferenceChooser using ArcGIS Engine.
TxSpatialReferenceChooser(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TxSpatialReferenceChooser theTxSpatialReferenceChooser = (TxSpatialReferenceChooser) obj;
 
Method Summary
 ISpatialReference doModalCreate(int hParent)
          Displays the modal spatial reference chooser dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 
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

TxSpatialReferenceChooser

public TxSpatialReferenceChooser()
                          throws IOException,
                                 UnknownHostException
Constructs a TxSpatialReferenceChooser using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

TxSpatialReferenceChooser

public TxSpatialReferenceChooser(Object obj)
                          throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TxSpatialReferenceChooser theTxSpatialReferenceChooser = (TxSpatialReferenceChooser) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

doModalCreate

public ISpatialReference doModalCreate(int hParent)
                                throws IOException,
                                       AutomationException
Displays the modal spatial reference chooser dialog.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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