|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.DocEventHandler
public class DocEventHandler
A collection of methods and properties to catch and process document and tracking analyst document events.
This object provides methods and properties to indicate parent document, whether or not the object is valid, and the running environment (e.g., in ArcMap, ArcCatalog and MapControl).
Provides access to properties and methods for document event handling. Note: the ITxDocEventHandler interface has been superseded by ITxDocEventHandler2 Please consider using the more recent version.
Constructor Summary | |
---|---|
DocEventHandler()
Constructs a DocEventHandler using ArcGIS Engine. |
|
DocEventHandler(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DocEventHandler theDocEventHandler = (DocEventHandler) obj; |
Method Summary | |
---|---|
void |
addITxDocumentEventsListener(ITxDocumentEvents theListener)
addITxDocumentEventsListener. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static String |
getClsid()
getClsid. |
Object |
getParentDocument()
Parent document responsible for the document event handling. |
int |
hashCode()
the hashcode for this object |
void |
isApplication()
Indicates if this object is part of an application. |
void |
isMapControl()
Indicates if this object is attached to a map control. |
void |
isRunningInArcMap()
Indicates if this object is attached to ArcMap. |
void |
isRunningInCatalog()
Indicates if this object is attached to ArcCatalog. |
boolean |
isValid()
Indicates if this object is in a valid state. |
void |
removeITxDocumentEventsListener(ITxDocumentEvents theListener)
removeITxDocumentEventsListener. |
int |
runningEnvironment()
Identifies the client envirionment, e.g., ArcMap, ArcGlobe, Map Control, ... |
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 DocEventHandler() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic DocEventHandler(Object obj) throws IOException
DocEventHandler theDocEventHandler = (DocEventHandler) obj;
obj
to DocEventHandler
.
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 void addITxDocumentEventsListener(ITxDocumentEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.trackinganalyst.ITxDocumentEvents interface.
IOException
- If there are communications problems.public void removeITxDocumentEventsListener(ITxDocumentEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.trackinganalyst.ITxDocumentEvents interface.
IOException
- If there are communications problems.public Object getParentDocument() throws IOException, AutomationException
getParentDocument
in interface ITxDocEventHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws IOException, AutomationException
isValid
in interface ITxDocEventHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isMapControl() throws IOException, AutomationException
This method has been superseded by ITxDocEventHandler::RunningEnvironment.
isMapControl
in interface ITxDocEventHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isApplication() throws IOException, AutomationException
This method has been superseded by ITxDocEventHandler::RunningEnvironment.
isApplication
in interface ITxDocEventHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isRunningInCatalog() throws IOException, AutomationException
This method has been superseded by ITxDocEventHandler::RunningEnvironment.
isRunningInCatalog
in interface ITxDocEventHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isRunningInArcMap() throws IOException, AutomationException
This method has been superseded by ITxDocEventHandler::RunningEnvironment.
isRunningInArcMap
in interface ITxDocEventHandler
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int runningEnvironment() throws IOException, AutomationException
This method identifies the client envirionment, e.g., ArcMap, ArcGlobe, Map Control, ... with or without dynamic display.
RunningEnvironment 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 ITxDocEventHandler.
runningEnvironment
in interface ITxDocEventHandler2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
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 |