|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public ILabelEngineManager2 getLabelEngineManager() throws IOException, AutomationException
getLabelEngineManager
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITAUpdateControl getDisplayManager() throws IOException, AutomationException
getDisplayManager
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITemporalReference getDefaultTemporalReference() throws IOException, AutomationException
getDefaultTemporalReference
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITemporalLegendGroup getDefaultTemporalLegendGroup() throws IOException, AutomationException
getDefaultTemporalLegendGroup
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void close() throws IOException, AutomationException
close
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initialize(Object pInitializationData) throws IOException, AutomationException
initialize
in interface ITrackingEnvironment
pInitializationData
- 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 ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAttached() throws IOException, AutomationException
isAttached
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableTemporalDisplayManagement() throws IOException, AutomationException
isEnableTemporalDisplayManagement
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableTemporalDisplayManagement(boolean pbvarEnableTemporalDisplayManagement) throws IOException, AutomationException
setEnableTemporalDisplayManagement
in interface ITrackingEnvironment
pbvarEnableTemporalDisplayManagement
- 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 ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRunningInApplication() throws IOException, AutomationException
isRunningInApplication
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRunningInCatalog() throws IOException, AutomationException
isRunningInCatalog
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRunningInArcMap() throws IOException, AutomationException
isRunningInArcMap
in interface ITrackingEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHideTrackingConnectionsFolder(boolean rhs1) throws IOException, AutomationException
setHideTrackingConnectionsFolder
in interface ITrackingEnvironment
rhs1
- 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 ITrackingEnvironment3
IOException
- 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 ITrackingEnvironment2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDirectionalVectorRendererProperties getDirectionalVectorProp() throws IOException, AutomationException
getDirectionalVectorProp
in interface ITrackingEnvironment2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEventAttributeProperties getEventAttributeProp() throws IOException, AutomationException
getEventAttributeProp
in interface ITrackingEnvironment2
IOException
- 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 ITemporalGraphs
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addGraph(ITemporalGraph piTemporalGraph) throws IOException, AutomationException
addGraph
in interface ITemporalGraphs
piTemporalGraph
- 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 ITemporalGraphs
nIndex
- 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 ITemporalGraphs
nIndex
- 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 IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IPersist
pClassID
- 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 IDocumentVersionSupportGEN
docVersion
- 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 IDocumentVersionSupportGEN
docVersion
- 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |