|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.IDocumentEventsDispAdapter
public class IDocumentEventsDispAdapter
Constructor Summary | |
---|---|
IDocumentEventsDispAdapter()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDocumentEventsDispAdapter()
Method Detail |
---|
public 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.
activeViewChanged
in interface IDocumentEventsDisp
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean mapsChanged(IDocumentEventsDispMapsChangedEvent theEvent) throws IOException, AutomationException
mapsChanged
in interface IDocumentEventsDisp
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean onContextMenu(IDocumentEventsDispOnContextMenuEvent theEvent) throws IOException, AutomationException
onContextMenu
in interface IDocumentEventsDisp
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean newDocument(IDocumentEventsDispNewDocumentEvent theEvent) throws IOException, AutomationException
newDocument
in interface IDocumentEventsDisp
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean openDocument(IDocumentEventsDispOpenDocumentEvent theEvent) throws IOException, AutomationException
This event occurs when a document is opened in ArcMap.
openDocument
in interface IDocumentEventsDisp
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean closeDocument(IDocumentEventsDispCloseDocumentEvent theEvent) throws IOException, AutomationException
closeDocument
in interface IDocumentEventsDisp
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean beforeCloseDocument(IDocumentEventsDispBeforeCloseDocumentEvent theEvent) throws IOException, AutomationException
beforeCloseDocument
in interface IDocumentEventsDisp
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean vBAReset(IDocumentEventsDispVBAResetEvent theEvent) throws IOException, AutomationException
vBAReset
in interface IDocumentEventsDisp
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 |