com.esri.arcgis.controls
Class IMapControlEvents2OnAfterDrawEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.esri.arcgis.controls.IMapControlEvents2OnAfterDrawEvent
All Implemented Interfaces:
Serializable

public class IMapControlEvents2OnAfterDrawEvent
extends EventObject

Description

The OnAfterDraw event is fired after a specified phase has been drawn on the Map's screen display and is based upon the IActiveViewEvents::AfterDraw event. You must query interface for the IDisplay interface and base the viewDrawPhase on the esriViewDrawPhase constants.

Remarks

In some circumstances there maybe a need to execute some code after each individual layer in a map has drawn. To do this you need to set the IViewManager::VerboseEvents property to true and use the IActiveViewEvents::AfterItemDraw event.

Product Availability

Available with ArcGIS Engine.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IMapControlEvents2OnAfterDrawEvent(Object source)
           
 
Method Summary
 Object getDisplay()
           
 int getViewDrawPhase()
           
 void init(Object display, int viewDrawPhase)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IMapControlEvents2OnAfterDrawEvent

public IMapControlEvents2OnAfterDrawEvent(Object source)
Method Detail

init

public void init(Object display,
                 int viewDrawPhase)

getDisplay

public final Object getDisplay()

getViewDrawPhase

public final int getViewDrawPhase()