|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDocumentEventsDisp
Provides access to events that occur in ArcMap.
Use the IDocumentEventsDisp interface to perform some action when the ArcMap document events occur.
Method Summary | |
---|---|
boolean |
activeViewChanged(IDocumentEventsDispActiveViewChangedEvent theEvent)
Fired when the active view has changed. |
boolean |
beforeCloseDocument(IDocumentEventsDispBeforeCloseDocumentEvent theEvent)
Fired before a document is closed. |
boolean |
closeDocument(IDocumentEventsDispCloseDocumentEvent theEvent)
Fired when a document is closed. |
boolean |
mapsChanged(IDocumentEventsDispMapsChangedEvent theEvent)
Fired when a change is made to the map collection. |
boolean |
newDocument(IDocumentEventsDispNewDocumentEvent theEvent)
Fired when a new document is created. |
boolean |
onContextMenu(IDocumentEventsDispOnContextMenuEvent theEvent)
Indicates if a context menu should be displayed at the given xy location. |
boolean |
openDocument(IDocumentEventsDispOpenDocumentEvent theEvent)
Fired when a document is opened. |
boolean |
vBAReset(IDocumentEventsDispVBAResetEvent theEvent)
Fired when VBA is reset. |
Method Detail |
---|
boolean activeViewChanged(IDocumentEventsDispActiveViewChangedEvent theEvent) throws IOException, AutomationException
There are two different view types in ArcMap--data view and page layout view. Only one type of view can be active in the application at a time; the one with the focus is the active view. The ActiveViewChanged event occurs when the active view is changed. For example, this event is fired when ArcMap is switched from data view to page layout view or vice versa.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean mapsChanged(IDocumentEventsDispMapsChangedEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean onContextMenu(IDocumentEventsDispOnContextMenuEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean newDocument(IDocumentEventsDispNewDocumentEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean openDocument(IDocumentEventsDispOpenDocumentEvent theEvent) throws IOException, AutomationException
This event occurs when a document is opened in ArcMap.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean closeDocument(IDocumentEventsDispCloseDocumentEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean beforeCloseDocument(IDocumentEventsDispBeforeCloseDocumentEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean vBAReset(IDocumentEventsDispVBAResetEvent theEvent) throws IOException, AutomationException
theEvent
- 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 |