Class IActiveViewEventsViewRefreshedEvent

  extended by java.util.EventObject
      extended by com.esri.arcgis.carto.IActiveViewEventsViewRefreshedEvent
All Implemented Interfaces:

public class IActiveViewEventsViewRefreshedEvent
extends EventObject


Method that gets fired in response to IActiveView::Refresh and IActiveView::PartialRefresh.


This event is useful in the case where you're watching for something to change in the view and there aren't any specific events for that change (e.g. ContentsChanged, ItemAdded). You can always listen for this method as a last resort. Care must be taken however to be very efficient in your implementation of this event because it will be called quite often.

The event parameters directly coincide with the arguments to IActiveView::PartialRefresh. For additional information about the arguments, see the help for that method.

If the event object connects to both the layout and a map, then the view parameter tells you which object initiated the event.

In an implementation of this method you typically want to check the phase and respond to only one. Otherwise, your code will execute multiple times per drawing sequence.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Field Summary
Fields inherited from class java.util.EventObject
Constructor Summary
IActiveViewEventsViewRefreshedEvent(Object source)
Method Summary
 Object getData()
 IEnvelope getEnvelope()
 int getPhase()
 IActiveView getView()
 void init(IActiveView view, int phase, Object data, IEnvelope envelope)
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


public IActiveViewEventsViewRefreshedEvent(Object source)
Method Detail


public void init(IActiveView view,
                 int phase,
                 Object data,
                 IEnvelope envelope)


public final IActiveView getView()


public final int getPhase()


public final Object getData()


public final IEnvelope getEnvelope()