com.esri.arcgis.trackinganalyst
Class TrackingEnvironment

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.TrackingEnvironment
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IDocumentVersionSupportGEN, IPersist, IPersistStream, ITemporalGraphs, ITrackingEnvironment, ITrackingEnvironment2, ITrackingEnvironment3, java.io.Externalizable, java.io.Serializable

public class TrackingEnvironment
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITrackingEnvironment, ITrackingEnvironment3, ITrackingEnvironment2, ITemporalGraphs, IPersistStream, IDocumentVersionSupportGEN, java.io.Externalizable

COM Class 'TrackingEnvironment'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriTrackingAnalyst.olb'

Description 'Provides a storage area for global Tracking environment objects.' 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
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITrackingEnvironment3
IID, IIDe193bb0c_afd7_404d_821c_cbc25ed8308d, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITrackingEnvironment
IIDdfa80020_7dd6_11d7_b877_00010265adc5
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITrackingEnvironment2
IID, IIDe7ab2292_5b9a_4d4f_bfed_82ecd47a2bb9, xxDummy
 
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITemporalGraphs
IID, IID33e20880_1424_11d6_b82f_00010265adc5, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Constructor Summary
TrackingEnvironment()
          Constructs a TrackingEnvironment using ArcGIS Engine.
TrackingEnvironment(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrackingEnvironment theTrackingEnvironment = (TrackingEnvironment) obj;
 
Method Summary
 void addGraph(ITemporalGraph piTemporalGraph)
          Adds a temporal graph.
 void close()
          Closes the Tracking Analyst Environment.
 java.lang.Object convertToSupportedObject(int docVersion)
          Convert the object to another object that is supported.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IActionLookupSupport getActionEnvironment()
          Returns the Action Environment.
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 short getCount()
          Number of temporal graphs.
 ITemporalLegendGroup getDefaultTemporalLegendGroup()
          Returns the default Temporal Legend Group.
 ITemporalReference getDefaultTemporalReference()
          Returns the default Temporal Reference.
 IDirectionalVectorRendererProperties getDirectionalVectorProp()
          Returns the global (default) properties associated with the Directional Vector Rendering.
 ITAUpdateControl getDisplayManager()
          Returns the Tracking Display Manager.
 IEventAttributeProperties getEventAttributeProp()
          Returns the global (default) properties associated with the Event Attribute Rendering.
 ITemporalGraph getGraph(short nIndex)
          Retrieves a graph by index.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ILabelEngineManager2 getLabelEngineManager()
          Returns the Tracking Label Engine Manager.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 int hashCode()
          the hashcode for this object
 void initialize(java.lang.Object pInitializationData)
          Initializes the Tracking Analyst Environment.
 boolean isAttached()
          Indicates whether or not the tracking environment is attached to a document object.
 void isDirty()
          isDirty
 boolean isEnableTemporalDisplayManagement()
          Indicates if Temporal Management of the Display is enabled.
 boolean isLicensed()
          Indicates whether or not the tracking components are properly licensed.
 boolean isRunningInApplication()
          Indicates if the object is attached to an ArcGIS Application.
 boolean isRunningInArcMap()
          Indicates if the object is attached to ArcMap.
 boolean isRunningInCatalog()
          Indicates if the object is attached to ArcCatalog.
 boolean isRunningInMapControl()
          Indicates if the object is attached to a MapControl
 boolean isSupportedAtVersion(int docVersion)
          Is this object valid at the given document version.
 void load(IStream pstm)
          load
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a TrackingEnvironment.
 void removeGraph(short nIndex)
          Removes a graph by index.
 int runningEnvironment()
          Identifies the client envirionment, e.g., ArcMap, ArcGlobe, Map Control, ...
 void save(IStream pstm, int fClearDirty)
          save
 void setEnableTemporalDisplayManagement(boolean pbvarEnableTemporalDisplayManagement)
          Indicates if Temporal Management of the Display is enabled.
 void setHideTrackingConnectionsFolder(boolean rhs1)
          Controls whether the Tracking Connections folder is hidden in ArcCatalog.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

TrackingEnvironment

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

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

TrackingEnvironment

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

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

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

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

getLabelEngineManager

public ILabelEngineManager2 getLabelEngineManager()
                                           throws java.io.IOException,
                                                  AutomationException
Returns the Tracking Label Engine Manager.

Specified by:
getLabelEngineManager in interface ITrackingEnvironment
Returns:
A reference to a com.esri.arcgis.trackinganalyst.ILabelEngineManager2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayManager

public ITAUpdateControl getDisplayManager()
                                   throws java.io.IOException,
                                          AutomationException
Returns the Tracking Display Manager.

Specified by:
getDisplayManager in interface ITrackingEnvironment
Returns:
A reference to a com.esri.arcgis.trackinganalyst.ITAUpdateControl
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultTemporalReference

public ITemporalReference getDefaultTemporalReference()
                                               throws java.io.IOException,
                                                      AutomationException
Returns the default Temporal Reference.

Specified by:
getDefaultTemporalReference in interface ITrackingEnvironment
Returns:
A reference to a com.esri.arcgis.trackinganalyst.ITemporalReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultTemporalLegendGroup

public ITemporalLegendGroup getDefaultTemporalLegendGroup()
                                                   throws java.io.IOException,
                                                          AutomationException
Returns the default Temporal Legend Group.

Specified by:
getDefaultTemporalLegendGroup in interface ITrackingEnvironment
Returns:
A reference to a com.esri.arcgis.trackinganalyst.ITemporalLegendGroup
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

close

public void close()
           throws java.io.IOException,
                  AutomationException
Closes the Tracking Analyst Environment.

Specified by:
close in interface ITrackingEnvironment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

public void initialize(java.lang.Object pInitializationData)
                throws java.io.IOException,
                       AutomationException
Initializes the Tracking Analyst Environment.

Specified by:
initialize in interface ITrackingEnvironment
Parameters:
pInitializationData - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLicensed

public boolean isLicensed()
                   throws java.io.IOException,
                          AutomationException
Indicates whether or not the tracking components are properly licensed.

Specified by:
isLicensed in interface ITrackingEnvironment
Returns:
The pbvarLicensed
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAttached

public boolean isAttached()
                   throws java.io.IOException,
                          AutomationException
Indicates whether or not the tracking environment is attached to a document object.

Specified by:
isAttached in interface ITrackingEnvironment
Returns:
The pbvarAttached
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnableTemporalDisplayManagement

public boolean isEnableTemporalDisplayManagement()
                                          throws java.io.IOException,
                                                 AutomationException
Indicates if Temporal Management of the Display is enabled.

Specified by:
isEnableTemporalDisplayManagement in interface ITrackingEnvironment
Returns:
The pbvarEnableTemporalDisplayManagement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnableTemporalDisplayManagement

public void setEnableTemporalDisplayManagement(boolean pbvarEnableTemporalDisplayManagement)
                                        throws java.io.IOException,
                                               AutomationException
Indicates if Temporal Management of the Display is enabled.

Specified by:
setEnableTemporalDisplayManagement in interface ITrackingEnvironment
Parameters:
pbvarEnableTemporalDisplayManagement - The pbvarEnableTemporalDisplayManagement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRunningInMapControl

public boolean isRunningInMapControl()
                              throws java.io.IOException,
                                     AutomationException
Indicates if the object is attached to a MapControl

Specified by:
isRunningInMapControl in interface ITrackingEnvironment
Returns:
The pbvarIsRunningInMapControl
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRunningInApplication

public boolean isRunningInApplication()
                               throws java.io.IOException,
                                      AutomationException
Indicates if the object is attached to an ArcGIS Application.

Specified by:
isRunningInApplication in interface ITrackingEnvironment
Returns:
The pbvarIsRunningInApplication
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRunningInCatalog

public boolean isRunningInCatalog()
                           throws java.io.IOException,
                                  AutomationException
Indicates if the object is attached to ArcCatalog.

Specified by:
isRunningInCatalog in interface ITrackingEnvironment
Returns:
The pbvarIsRunningInCatalog
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRunningInArcMap

public boolean isRunningInArcMap()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the object is attached to ArcMap.

Specified by:
isRunningInArcMap in interface ITrackingEnvironment
Returns:
The pbvarIsRunningInArcMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHideTrackingConnectionsFolder

public void setHideTrackingConnectionsFolder(boolean rhs1)
                                      throws java.io.IOException,
                                             AutomationException
Controls whether the Tracking Connections folder is hidden in ArcCatalog.

Specified by:
setHideTrackingConnectionsFolder in interface ITrackingEnvironment
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

runningEnvironment

public int runningEnvironment()
                       throws java.io.IOException,
                              AutomationException
Identifies the client envirionment, e.g., ArcMap, ArcGlobe, Map Control, ... with or without dynamic display.

Specified by:
runningEnvironment in interface ITrackingEnvironment3
Returns:
A com.esri.arcgis.trackinganalyst.enumTrackingEnv constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActionEnvironment

public IActionLookupSupport getActionEnvironment()
                                          throws java.io.IOException,
                                                 AutomationException
Returns the Action Environment.

Specified by:
getActionEnvironment in interface ITrackingEnvironment2
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IActionLookupSupport
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirectionalVectorProp

public IDirectionalVectorRendererProperties getDirectionalVectorProp()
                                                              throws java.io.IOException,
                                                                     AutomationException
Returns the global (default) properties associated with the Directional Vector Rendering.

Specified by:
getDirectionalVectorProp in interface ITrackingEnvironment2
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IDirectionalVectorRendererProperties
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEventAttributeProp

public IEventAttributeProperties getEventAttributeProp()
                                                throws java.io.IOException,
                                                       AutomationException
Returns the global (default) properties associated with the Event Attribute Rendering.

Specified by:
getEventAttributeProp in interface ITrackingEnvironment2
Returns:
A reference to a com.esri.arcgis.trackinganalyst.IEventAttributeProperties
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public short getCount()
               throws java.io.IOException,
                      AutomationException
Number of temporal graphs.

Specified by:
getCount in interface ITemporalGraphs
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addGraph

public void addGraph(ITemporalGraph piTemporalGraph)
              throws java.io.IOException,
                     AutomationException
Adds a temporal graph.

Specified by:
addGraph in interface ITemporalGraphs
Parameters:
piTemporalGraph - A reference to a com.esri.arcgis.trackinganalyst.ITemporalGraph (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGraph

public ITemporalGraph getGraph(short nIndex)
                        throws java.io.IOException,
                               AutomationException
Retrieves a graph by index.

Specified by:
getGraph in interface ITemporalGraphs
Parameters:
nIndex - The nIndex (in)
Returns:
A reference to a com.esri.arcgis.trackinganalyst.ITemporalGraph
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeGraph

public void removeGraph(short nIndex)
                 throws java.io.IOException,
                        AutomationException
Removes a graph by index.

Specified by:
removeGraph in interface ITemporalGraphs
Parameters:
nIndex - The nIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

Specified by:
isDirty in interface IPersistStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportedAtVersion

public boolean isSupportedAtVersion(int docVersion)
                             throws java.io.IOException,
                                    AutomationException
Is this object valid at the given document version.

Remarks

Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isSupportedAtVersion in interface IDocumentVersionSupportGEN
Parameters:
docVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
Returns:
The supported
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToSupportedObject

public java.lang.Object convertToSupportedObject(int docVersion)
                                          throws java.io.IOException,
                                                 AutomationException
Convert the object to another object that is supported.

Remarks

This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
convertToSupportedObject in interface IDocumentVersionSupportGEN
Parameters:
docVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException