|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.framework.IAppROTEventsProxy
public class IAppROTEventsProxy
Provides access to events that occur on the Esri application running object table.
The AppROT events are designed to let interested applications or components know when an ESRI application has started or terminated. When an instance of an application starts or terminates, an event will automatically be fired from the AppROT to let all listeners know about it. This may be useful if listening components or applications need to maintain "switch-to" lists, or if they want to synchronize representations between all running instances so that if something happens in one application, all anothers can be informed and update themselves appropriately. Such "coordinating" components would need to know when new instances start and when existing ones terminate.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IAppROTEventsProxy()
|
|
IAppROTEventsProxy(Object obj)
|
protected |
IAppROTEventsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
appAdded(IAppROTEventsAppAddedEvent theEvent)
Occurs when an application reference is added to the table. |
void |
appRemoved(IAppROTEventsAppRemovedEvent theEvent)
Occurs when an application reference is removed from the table. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IAppROTEventsProxy()
public IAppROTEventsProxy(Object obj) throws IOException
IOException
protected IAppROTEventsProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void appAdded(IAppROTEventsAppAddedEvent theEvent) throws IOException, AutomationException
appAdded
in interface IAppROTEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IApplication
public void appRemoved(IAppROTEventsAppRemovedEvent theEvent) throws IOException, AutomationException
appRemoved
in interface IAppROTEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IApplication
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |