com.esri.arcgis.arcmapui
Class ImageInsetWindow

java.lang.Object
  extended by com.esri.arcgis.arcmapui.ImageInsetWindow
All Implemented Interfaces:
IDataWindow, IDataWindow2, IDocumentEvents, ILensWindow, IMapInsetWindow, IActiveViewEvents, IMapSurroundEvents, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable, java.util.EventListener

public class ImageInsetWindow
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IMapInsetWindow, ILensWindow, IDataWindow, IDataWindow2, IDocumentEvents, IActiveViewEvents, IMapSurroundEvents

COM Class 'ImageInsetWindow'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'Window to display ImageInsets.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.arcmapui.IMapInsetWindow
IID, IID279c3488_36aa_11d1_8809_080009ec732a, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.ILensWindow
IID279c3487_36aa_11d1_8809_080009ec732a
 
Fields inherited from interface com.esri.arcgis.arcmapui.IDataWindow
IID04dbd416_aee2_11d1_8750_0000f8751720
 
Fields inherited from interface com.esri.arcgis.arcmapui.IDataWindow2
IID, IID04dbd418_aee2_11d1_8750_0000f8751720, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.IDocumentEvents
IID, IID6db7c4bd_0a7c_11d1_86aa_0000f8751720, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IActiveViewEvents
IID, IIDe79c5940_52dd_11d0_98be_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IMapSurroundEvents
IID, IID0dca8f87_afa7_11d2_87fb_0000f8751720, xxDummy
 
Constructor Summary
ImageInsetWindow(java.lang.Object obj)
          Construct a ImageInsetWindow using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void activeViewChanged(IDocumentEventsActiveViewChangedEvent theEvent)
          Fired when the active view changes.
 void addIDataWindowEventsListener(IDataWindowEvents theListener)
          addIDataWindowEventsListener.
 void afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
          Fired after the specified phase is drawn.
 void afterDraw(IMapSurroundEventsAfterDrawEvent theEvent)
          Fired after drawing completes.
 void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
          Fired after an individual view item is drawn.
 boolean beforeCloseDocument(IDocumentEventsBeforeCloseDocumentEvent theEvent)
          Fired before a document is closed.
 void beforeDraw(IMapSurroundEventsBeforeDrawEvent theEvent)
          Fired before drawing starts.
 void closeDocument(IDocumentEventsCloseDocumentEvent theEvent)
          Fired when a document is closed.
 void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
          Fired when the contents of the view changes.
 void contentsChanged(IMapSurroundEventsContentsChangedEvent theEvent)
          Fired when the contents of the map surround changes.
 void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
          Fired when the contents of the view is cleared.
 void destroy()
          Close and destroy the window.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void flashLocation()
          Draw leader lines from the inset to the location on the map shown by the inset.
 void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
          Fired when a new map is made active.
 int getHWnd()
          The window's handle.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IMapInset getMapInset()
          The MapInset used by this window.
 IScreenDisplay getScreenDisplay()
          The screen display used by this window.
 java.lang.String getTag()
          For developer use.
 int hashCode()
          the hashcode for this object
 boolean isDockable()
          Indicates if the window is dockable.
 boolean isEnableContextMenu()
          Indicates if the context menu should be enabled.
 boolean isLive()
          Indicates if the window shows a live view of what's under it or a snapshot.
 boolean isUpdateWhileDragging()
          Indicates if the window is redrawn as it's moved or not.
 boolean isVisible()
          Indicates if the window is visible.
 void itemAdded(IActiveViewEventsItemAddedEvent theEvent)
          Fired when an item is added to the view.
 void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
          Fired when an item is deleted from the view.
 void itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
          Fired when a view item is reordered.
 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.
 boolean 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 putPosition(int left, int top, int right, int bottom)
          The window's position in screen pixels.
 void queryPosition(int[] left, int[] top, int[] right, int[] bottom)
          The window's position in screen pixels.
 void refresh()
          Cause the window to redraw.
 void release()
          Release a ImageInsetWindow.
 void removeIDataWindowEventsListener(IDataWindowEvents theListener)
          removeIDataWindowEventsListener.
 void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
          Call this function to fire the selection changed event.
 void setApplicationByRef(java.lang.Object rhs1)
          Provides the window with a reference to the application.
 void setEnableContextMenu(boolean enable)
          Indicates if the context menu should be enabled.
 void setIsLive(boolean isLive)
          Indicates if the window shows a live view of what's under it or a snapshot.
 void setMapInsetByRef(IMapInset mapInset)
          The MapInset used by this window.
 void setTag(java.lang.String tag)
          For developer use.
 void setUpdateWhileDragging(boolean updateWhileDragging)
          Indicates if the window is redrawn as it's moved or not.
 void show(boolean show)
          Indicates if the window is shown.
 void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
          Fired when the spatial reference is changed.
 void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
          Fired when view is refreshed before draw happens.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageInsetWindow

public ImageInsetWindow(java.lang.Object obj)
                 throws java.io.IOException
Construct a ImageInsetWindow using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ImageInsetWindow.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ImageInsetWindow o = (ImageInsetWindow)obj; // will not work

ImageInsetWindow o = new ImageInsetWindow(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems ImageInsetWindow theImageInsetWindow = (ImageInsetWindow) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

addIDataWindowEventsListener

public void addIDataWindowEventsListener(IDataWindowEvents theListener)
                                  throws java.io.IOException
addIDataWindowEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.arcmapui.IDataWindowEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeIDataWindowEventsListener

public void removeIDataWindowEventsListener(IDataWindowEvents theListener)
                                     throws java.io.IOException
removeIDataWindowEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.arcmapui.IDataWindowEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a ImageInsetWindow.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getMapInset

public IMapInset getMapInset()
                      throws java.io.IOException,
                             AutomationException
The MapInset used by this window.

Specified by:
getMapInset in interface IMapInsetWindow
Returns:
A reference to a com.esri.arcgis.carto.IMapInset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapInsetByRef

public void setMapInsetByRef(IMapInset mapInset)
                      throws java.io.IOException,
                             AutomationException
The MapInset used by this window.

Specified by:
setMapInsetByRef in interface IMapInsetWindow
Parameters:
mapInset - A reference to a com.esri.arcgis.carto.IMapInset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flashLocation

public void flashLocation()
                   throws java.io.IOException,
                          AutomationException
Draw leader lines from the inset to the location on the map shown by the inset.

Specified by:
flashLocation in interface IMapInsetWindow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScreenDisplay

public IScreenDisplay getScreenDisplay()
                                throws java.io.IOException,
                                       AutomationException
The screen display used by this window.

Specified by:
getScreenDisplay in interface ILensWindow
Returns:
A reference to a com.esri.arcgis.display.IScreenDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUpdateWhileDragging

public boolean isUpdateWhileDragging()
                              throws java.io.IOException,
                                     AutomationException
Indicates if the window is redrawn as it's moved or not.

Specified by:
isUpdateWhileDragging in interface ILensWindow
Returns:
The updateWhileDragging
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUpdateWhileDragging

public void setUpdateWhileDragging(boolean updateWhileDragging)
                            throws java.io.IOException,
                                   AutomationException
Indicates if the window is redrawn as it's moved or not.

Specified by:
setUpdateWhileDragging in interface ILensWindow
Parameters:
updateWhileDragging - The updateWhileDragging (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLive

public boolean isLive()
               throws java.io.IOException,
                      AutomationException
Indicates if the window shows a live view of what's under it or a snapshot.

Specified by:
isLive in interface ILensWindow
Returns:
The isLive
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsLive

public void setIsLive(boolean isLive)
               throws java.io.IOException,
                      AutomationException
Indicates if the window shows a live view of what's under it or a snapshot.

Specified by:
setIsLive in interface ILensWindow
Parameters:
isLive - The isLive (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApplicationByRef

public void setApplicationByRef(java.lang.Object rhs1)
                         throws java.io.IOException,
                                AutomationException
Provides the window with a reference to the application.

Specified by:
setApplicationByRef in interface IDataWindow
Specified by:
setApplicationByRef in interface IDataWindow2
Parameters:
rhs1 - A reference to another Automation Object (IDispatch) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHWnd

public int getHWnd()
            throws java.io.IOException,
                   AutomationException
The window's handle.

Specified by:
getHWnd in interface IDataWindow
Specified by:
getHWnd in interface IDataWindow2
Returns:
The hWnd (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPosition

public void queryPosition(int[] left,
                          int[] top,
                          int[] right,
                          int[] bottom)
                   throws java.io.IOException,
                          AutomationException
The window's position in screen pixels.

Specified by:
queryPosition in interface IDataWindow
Specified by:
queryPosition in interface IDataWindow2
Parameters:
left - The left (out: use single element array)
top - The top (out: use single element array)
right - The right (out: use single element array)
bottom - The bottom (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putPosition

public void putPosition(int left,
                        int top,
                        int right,
                        int bottom)
                 throws java.io.IOException,
                        AutomationException
The window's position in screen pixels.

Specified by:
putPosition in interface IDataWindow
Specified by:
putPosition in interface IDataWindow2
Parameters:
left - The left (in)
top - The top (in)
right - The right (in)
bottom - The bottom (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

public boolean isVisible()
                  throws java.io.IOException,
                         AutomationException
Indicates if the window is visible.

Specified by:
isVisible in interface IDataWindow
Specified by:
isVisible in interface IDataWindow2
Returns:
The isVisible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDockable

public boolean isDockable()
                   throws java.io.IOException,
                          AutomationException
Indicates if the window is dockable.

Specified by:
isDockable in interface IDataWindow
Specified by:
isDockable in interface IDataWindow2
Returns:
The isVisible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(boolean show)
          throws java.io.IOException,
                 AutomationException
Indicates if the window is shown.

Specified by:
show in interface IDataWindow
Specified by:
show in interface IDataWindow2
Parameters:
show - The show (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Cause the window to redraw.

Specified by:
refresh in interface IDataWindow
Specified by:
refresh in interface IDataWindow2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTag

public java.lang.String getTag()
                        throws java.io.IOException,
                               AutomationException
For developer use.

Specified by:
getTag in interface IDataWindow2
Returns:
The tag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTag

public void setTag(java.lang.String tag)
            throws java.io.IOException,
                   AutomationException
For developer use.

Specified by:
setTag in interface IDataWindow2
Parameters:
tag - The tag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEnableContextMenu

public boolean isEnableContextMenu()
                            throws java.io.IOException,
                                   AutomationException
Indicates if the context menu should be enabled.

Specified by:
isEnableContextMenu in interface IDataWindow2
Returns:
The enable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnableContextMenu

public void setEnableContextMenu(boolean enable)
                          throws java.io.IOException,
                                 AutomationException
Indicates if the context menu should be enabled.

Specified by:
setEnableContextMenu in interface IDataWindow2
Parameters:
enable - The enable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

destroy

public void destroy()
             throws java.io.IOException,
                    AutomationException
Close and destroy the window.

Specified by:
destroy in interface IDataWindow2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activeViewChanged

public void activeViewChanged(IDocumentEventsActiveViewChangedEvent theEvent)
                       throws java.io.IOException,
                              AutomationException
Fired when the active view changes.

Specified by:
activeViewChanged in interface IDocumentEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mapsChanged

public void mapsChanged(IDocumentEventsMapsChangedEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Fired when a change is made to the map collection.

Specified by:
mapsChanged in interface IDocumentEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onContextMenu

public boolean onContextMenu(IDocumentEventsOnContextMenuEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Indicates if a context menu should be displayed at the given xy location. Return true if handled.

Specified by:
onContextMenu in interface IDocumentEvents
Parameters:
theEvent - The event
Returns:
The handled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

newDocument

public void newDocument(IDocumentEventsNewDocumentEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Fired when a new document is created.

Specified by:
newDocument in interface IDocumentEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openDocument

public void openDocument(IDocumentEventsOpenDocumentEvent theEvent)
                  throws java.io.IOException,
                         AutomationException
Fired when a document is opened.

Specified by:
openDocument in interface IDocumentEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeCloseDocument

public boolean beforeCloseDocument(IDocumentEventsBeforeCloseDocumentEvent theEvent)
                            throws java.io.IOException,
                                   AutomationException
Fired before a document is closed. Return True to abort the close process.

Specified by:
beforeCloseDocument in interface IDocumentEvents
Parameters:
theEvent - The event
Returns:
The abortClose
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

closeDocument

public void closeDocument(IDocumentEventsCloseDocumentEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired when a document is closed.

Specified by:
closeDocument in interface IDocumentEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contentsChanged

public void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when the contents of the view changes.

Specified by:
contentsChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contentsCleared

public void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when the contents of the view is cleared.

Specified by:
contentsCleared in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemAdded

public void itemAdded(IActiveViewEventsItemAddedEvent theEvent)
               throws java.io.IOException,
                      AutomationException
Fired when an item is added to the view.

Specified by:
itemAdded in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemDeleted

public void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Fired when an item is deleted from the view.

Specified by:
itemDeleted in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemReordered

public void itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired when a view item is reordered.

Specified by:
itemReordered in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectionChanged

public void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Call this function to fire the selection changed event.

Specified by:
selectionChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

viewRefreshed

public void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired when view is refreshed before draw happens.

Specified by:
viewRefreshed in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterDraw

public void afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
               throws java.io.IOException,
                      AutomationException
Fired after the specified phase is drawn.

Specified by:
afterDraw in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterItemDraw

public void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Fired after an individual view item is drawn. Example: view items include layers in a map or elements in a page layout.

Specified by:
afterItemDraw in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

focusMapChanged

public void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when a new map is made active.

Specified by:
focusMapChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

spatialReferenceChanged

public void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
                             throws java.io.IOException,
                                    AutomationException
Fired when the spatial reference is changed.

Specified by:
spatialReferenceChanged in interface IActiveViewEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contentsChanged

public void contentsChanged(IMapSurroundEventsContentsChangedEvent theEvent)
                     throws java.io.IOException,
                            AutomationException
Fired when the contents of the map surround changes.

Specified by:
contentsChanged in interface IMapSurroundEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeDraw

public void beforeDraw(IMapSurroundEventsBeforeDrawEvent theEvent)
                throws java.io.IOException,
                       AutomationException
Fired before drawing starts.

Specified by:
beforeDraw in interface IMapSurroundEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

afterDraw

public void afterDraw(IMapSurroundEventsAfterDrawEvent theEvent)
               throws java.io.IOException,
                      AutomationException
Fired after drawing completes.

Specified by:
afterDraw in interface IMapSurroundEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.