|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDisplayEvents
Provides access to members that control Display Events.
Use this interface to trap for specific events occurring inside a display. For example, you may wish to know whenever a particular display is scrolled. This is the case for the Map object which needs to perform some redrawing operations whenever its screen display is scrolled.
Method Summary | |
---|---|
void |
displayFinished(IDisplayEventsDisplayFinishedEvent theEvent)
Notifies clients when drawing completes. |
void |
displayInvalidated(IDisplayEventsDisplayInvalidatedEvent theEvent)
Notifies clients when display is invalidated. |
void |
displayScrolled(IDisplayEventsDisplayScrolledEvent theEvent)
Notifies clients when display is scrolled. |
void |
displayStarted(IDisplayEventsDisplayStartedEvent theEvent)
Notifies clients when drawing starts. |
Method Detail |
---|
void displayStarted(IDisplayEventsDisplayStartedEvent theEvent) throws IOException, AutomationException
IDisplay::StartDrawing fires this event to notify clients that drawing has started. The display where drawing was initiated is returned.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void displayFinished(IDisplayEventsDisplayFinishedEvent theEvent) throws IOException, AutomationException
IDisplay::FinishDrawing fires this event to notify clients that drawing has completed. The display where drawing has completed is returned to the client.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void displayInvalidated(IDisplayEventsDisplayInvalidatedEvent theEvent) throws IOException, AutomationException
IScreenDisplay::Invalidate fires this event to notify all clients a display has been invalidated. The display, the area invalidated, the erase setting, and the cacheID are all returned to clients listening to this event.
The Map object is one client that listens for this event and it may in turn fire the IActiveViewEvenets::ViewRefreshed event.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void displayScrolled(IDisplayEventsDisplayScrolledEvent theEvent) throws IOException, AutomationException
IScreenDisplay::DoScroll fires this event to notify all clients that the display has scrolled. For example, the Map object listens for this event because it needs to perform some drawing operations whenever its display is scrolled.
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 |