- 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.
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Windows, Solaris, Linux
- See Also:
- Serialized Form
public IActiveViewEventsViewRefreshedEvent(Object source)
public void init(IActiveView view,
public final IActiveView getView()
public final int getPhase()
public final Object getData()
public final IEnvelope getEnvelope()