|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.arcmapui.IDocumentEventsProxy
public class IDocumentEventsProxy
Provides access to events that occur in ArcMap.
In VBA, use the IDocumentEventsDisp interface instead of IDocumentEvents.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IDocumentEventsProxy()
|
|
IDocumentEventsProxy(Object obj)
|
protected |
IDocumentEventsProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
activeViewChanged(IDocumentEventsActiveViewChangedEvent theEvent)
Fired when the active view changes. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
beforeCloseDocument(IDocumentEventsBeforeCloseDocumentEvent theEvent)
Fired before a document is closed. |
void |
closeDocument(IDocumentEventsCloseDocumentEvent theEvent)
Fired when a document is closed. |
void |
mapsChanged(IDocumentEventsMapsChangedEvent theEvent)
Fired when a change is made to the map collection. |
void |
newDocument(IDocumentEventsNewDocumentEvent theEvent)
Fired when a new document is created. |
void |
onContextMenu(IDocumentEventsOnContextMenuEvent theEvent)
Indicates if a context menu should be displayed at the given xy location. |
void |
openDocument(IDocumentEventsOpenDocumentEvent theEvent)
Fired when a document is opened. |
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 IDocumentEventsProxy()
public IDocumentEventsProxy(Object obj)
throws IOException
IOException
protected IDocumentEventsProxy(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.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void activeViewChanged(IDocumentEventsActiveViewChangedEvent theEvent)
throws IOException,
AutomationException
activeViewChanged in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void mapsChanged(IDocumentEventsMapsChangedEvent theEvent)
throws IOException,
AutomationException
mapsChanged in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onContextMenu(IDocumentEventsOnContextMenuEvent theEvent)
throws IOException,
AutomationException
onContextMenu in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void newDocument(IDocumentEventsNewDocumentEvent theEvent)
throws IOException,
AutomationException
newDocument in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void openDocument(IDocumentEventsOpenDocumentEvent theEvent)
throws IOException,
AutomationException
openDocument in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean beforeCloseDocument(IDocumentEventsBeforeCloseDocumentEvent theEvent)
throws IOException,
AutomationException
beforeCloseDocument in interface IDocumentEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void closeDocument(IDocumentEventsCloseDocumentEvent theEvent)
throws IOException,
AutomationException
closeDocument in interface IDocumentEventstheEvent - The event
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 | ||||||||