|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.trackinganalyst.TrackingEnvironment
public class TrackingEnvironment
Provides a storage area for global Tracking environment objects.
The tracking Environment singleton is a repository for commonly used configuration and state information needed by the tracking analyst objects. It provides functions that allow the tracking components to:
| Constructor Summary | |
|---|---|
TrackingEnvironment()
Constructs a TrackingEnvironment using ArcGIS Engine. |
|
TrackingEnvironment(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. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
boolean |
equals(Object o)
Compare this object with another |
IActionLookupSupport |
getActionEnvironment()
Returns the Action Environment. |
void |
getClassID(GUID[] pClassID)
getClassID |
static 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. |
ILabelEngineManager2 |
getLabelEngineManager()
Returns the Tracking Label Engine Manager. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
initialize(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(ObjectInput in)
|
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(ObjectOutput out)
|
| 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 TrackingEnvironment()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public TrackingEnvironment(Object obj)
throws IOException
TrackingEnvironment theTrackingEnvironment = (TrackingEnvironment) obj;
obj to TrackingEnvironment.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public ILabelEngineManager2 getLabelEngineManager()
throws IOException,
AutomationException
getLabelEngineManager in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITAUpdateControl getDisplayManager()
throws IOException,
AutomationException
getDisplayManager in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITemporalReference getDefaultTemporalReference()
throws IOException,
AutomationException
getDefaultTemporalReference in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITemporalLegendGroup getDefaultTemporalLegendGroup()
throws IOException,
AutomationException
getDefaultTemporalLegendGroup in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void close()
throws IOException,
AutomationException
close in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initialize(Object pInitializationData)
throws IOException,
AutomationException
initialize in interface ITrackingEnvironmentpInitializationData - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLicensed()
throws IOException,
AutomationException
isLicensed in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAttached()
throws IOException,
AutomationException
isAttached in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnableTemporalDisplayManagement()
throws IOException,
AutomationException
isEnableTemporalDisplayManagement in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEnableTemporalDisplayManagement(boolean pbvarEnableTemporalDisplayManagement)
throws IOException,
AutomationException
setEnableTemporalDisplayManagement in interface ITrackingEnvironmentpbvarEnableTemporalDisplayManagement - The pbvarEnableTemporalDisplayManagement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRunningInMapControl()
throws IOException,
AutomationException
isRunningInMapControl in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRunningInApplication()
throws IOException,
AutomationException
isRunningInApplication in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRunningInCatalog()
throws IOException,
AutomationException
isRunningInCatalog in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRunningInArcMap()
throws IOException,
AutomationException
isRunningInArcMap in interface ITrackingEnvironmentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHideTrackingConnectionsFolder(boolean rhs1)
throws IOException,
AutomationException
setHideTrackingConnectionsFolder in interface ITrackingEnvironmentrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int runningEnvironment()
throws IOException,
AutomationException
RunningEnvironment can be used to determine the host 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 ITrackingEnvironment.
runningEnvironment in interface ITrackingEnvironment3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IActionLookupSupport getActionEnvironment()
throws IOException,
AutomationException
This property returns the ActionEnvironment object that serves as a central point of entry for general action properties that apply to all actions within a process.
getActionEnvironment in interface ITrackingEnvironment2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDirectionalVectorRendererProperties getDirectionalVectorProp()
throws IOException,
AutomationException
getDirectionalVectorProp in interface ITrackingEnvironment2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEventAttributeProperties getEventAttributeProp()
throws IOException,
AutomationException
getEventAttributeProp in interface ITrackingEnvironment2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getCount()
throws IOException,
AutomationException
This property indicates total number of temporal graphs.
getCount in interface ITemporalGraphsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addGraph(ITemporalGraph piTemporalGraph)
throws IOException,
AutomationException
addGraph in interface ITemporalGraphspiTemporalGraph - A reference to a com.esri.arcgis.trackinganalyst.ITemporalGraph (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITemporalGraph getGraph(short nIndex)
throws IOException,
AutomationException
getGraph in interface ITemporalGraphsnIndex - The nIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeGraph(short nIndex)
throws IOException,
AutomationException
This method removes a temporal graph by index.
removeGraph in interface ITemporalGraphsnIndex - The nIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportedAtVersion(int docVersion)
throws IOException,
AutomationException
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.
isSupportedAtVersion in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object convertToSupportedObject(int docVersion)
throws IOException,
AutomationException
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.
convertToSupportedObject in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||