|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.TrackingEngineUtil
public class TrackingEngineUtil
A general purpose Utility object for Tracking Analyst that provides a common way to access and determine the processing environment.
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.system.IExtension |
---|
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy |
Constructor Summary | |
---|---|
TrackingEngineUtil()
Constructs a TrackingEngineUtil using ArcGIS Engine. |
|
TrackingEngineUtil(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TrackingEngineUtil theTrackingEngineUtil = (TrackingEngineUtil) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IActiveView |
getActiveView()
Active view of control or application. |
IArray |
getBasicMaps()
The collection of maps in the control or application. |
int |
getClientEnvironment()
The Clients operating envirionment, e.g., ArcMap, ArcGlobe, Map Control, ... |
static String |
getClsid()
getClsid. |
IBasicMap |
getFocusBasicMap()
The current focus map. |
IMap |
getFocusMap()
The current focus map. |
IMaps |
getMaps()
The collection of maps in the control or application. |
String |
getName()
The name of the extension. |
int |
hashCode()
the hashcode for this object |
boolean |
isApplication()
Identifies if this object is part of an application. |
boolean |
isMapControl()
Identifies if this object is part of a MapControl. |
boolean |
isRunningInArcMap()
Identifies if this application is ArcMap. |
boolean |
isRunningInCatalog()
Identifies if this application is ArcCatalog. |
boolean |
isValid()
Indicates if this object is in a valid state. |
void |
shutdown()
Shuts down the extension. |
void |
startup(Object initializationData)
Starts up the extension with the given initialization data. |
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 TrackingEngineUtil() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TrackingEngineUtil(Object obj) throws IOException
TrackingEngineUtil theTrackingEngineUtil = (TrackingEngineUtil) obj;
obj
to TrackingEngineUtil
.
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 isMapControl() throws IOException, AutomationException
This method has been superseded by the ITrackingEngineUtil::get_ClientEnvironment property.
isMapControl
in interface ITrackingEngineUtil
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isApplication() throws IOException, AutomationException
This method has been superseded by the ITrackingEngineUtil::get_ClientEnvironment property.
isApplication
in interface ITrackingEngineUtil
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRunningInCatalog() throws IOException, AutomationException
This method has been superseded by the ITrackingEngineUtil::get_ClientEnvironment property.
isRunningInCatalog
in interface ITrackingEngineUtil
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRunningInArcMap() throws IOException, AutomationException
This method has been superseded by the ITrackingEngineUtil::get_ClientEnvironment property.
isRunningInArcMap
in interface ITrackingEngineUtil
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws IOException, AutomationException
isValid
in interface ITrackingEngineUtil
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IActiveView getActiveView() throws IOException, AutomationException
getActiveView
in interface ITrackingEngineUtil
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getFocusMap() throws IOException, AutomationException
getFocusMap
in interface ITrackingEngineUtil
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMaps getMaps() throws IOException, AutomationException
getMaps
in interface ITrackingEngineUtil
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getClientEnvironment() throws IOException, AutomationException
ClientEnvironment can be used to determine the client application that Tracking Analyst is running inside. This information can be useful when different operations need to be performed depending on the client hosting Tracking Analyst, i.e. a MapControl vs. a GlobeControl. This method supersedes IsMapControl, IsApplication, IsRunningInCatalog, and IsRunningInArcMap in ITrackingEngineUtil.
getClientEnvironment
in interface ITrackingEngineUtil2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getBasicMaps() throws IOException, AutomationException
This property supersedes ITrackingEngineUtil::get_Maps. This property returns a collection of IBasicMap interfaces that are contained in the Map (2D) or Globe (3D) coclass.
getBasicMaps
in interface ITrackingEngineUtil2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IBasicMap getFocusBasicMap() throws IOException, AutomationException
A user's map may comprise one or more Map objects. This property returns an IBasicMap reference to the Map object that currently has focus. In ArcMap, the focus map is the one visible in data view and the one selected in layout view. In ArcGlobe, there can only be one Globe object and FocusBasicMap returns a reference to this object.
getFocusBasicMap
in interface ITrackingEngineUtil2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startup(Object initializationData) throws IOException, AutomationException
startup
in interface IExtension
initializationData
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
shutdown
in interface IExtension
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 |