|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.IDynamicMapEventsAdapter
public class IDynamicMapEventsAdapter
Constructor Summary | |
---|---|
IDynamicMapEventsAdapter()
|
Method Summary | |
---|---|
void |
afterDynamicDraw(IDynamicMapEventsAfterDynamicDrawEvent theEvent)
Fired after the specified phase is drawn. |
void |
beforeDynamicDraw(IDynamicMapEventsBeforeDynamicDrawEvent theEvent)
Fired before the specified phase is drawn. |
void |
dynamicMapFinished(IDynamicMapEventsDynamicMapFinishedEvent theEvent)
Fired when the dynamic map finishes. |
void |
dynamicMapStarted(IDynamicMapEventsDynamicMapStartedEvent theEvent)
Fired when the dynamic map starts. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDynamicMapEventsAdapter()
Method Detail |
---|
public void dynamicMapStarted(IDynamicMapEventsDynamicMapStartedEvent theEvent) throws IOException, AutomationException
Fired each time the dynamic map cycle starts, if the Dynamic Map is enabled.
This event is tied to the internal heart beat of the dynamic map and will get fired on every dynamic map heart beat, even if the dynamic map is not being redrawn.
The dynamic map heart beat interval is set by the IDynamicMap.DynamicDrawRate property.
This event is useful when a timer mechanism is needed. This event synchronizes with the dynamic map heart beatt, therefore it can be used to implement a navigation mode, by changing the visible bounds and calling the refresh method.
dynamicMapStarted
in interface IDynamicMapEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void dynamicMapFinished(IDynamicMapEventsDynamicMapFinishedEvent theEvent) throws IOException, AutomationException
Fired each time the dynamic map cycle ends, if the Dynamic Map is enabled.
This event is tied to the internal heart beat of the dynamic map and will get fired on every dynamic map heart beat, even if the dynamic map is not being redrawn.
The dynamic map heart beat interval is set by the IDynamicMap.DynamicDrawRate property.
This event is useful when a timer mechanism is needed. This event synchronizes with the dynamic map heart beat.
dynamicMapFinished
in interface IDynamicMapEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void beforeDynamicDraw(IDynamicMapEventsBeforeDynamicDrawEvent theEvent) throws IOException, AutomationException
The BeforeDynamicDraw event is getting fired with two different phases (enum esriDynamicMapDrawPhase). Each phase has a different meaning and usage:
beforeDynamicDraw
in interface IDynamicMapEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void afterDynamicDraw(IDynamicMapEventsAfterDynamicDrawEvent theEvent) throws IOException, AutomationException
The AfterDynamicDraw event is getting fired with two different phases (enum esriDynamicMapDrawPhase). Each phase has a different meaning and usage:
esriDMDPLayers – When the Dynamic Map is sensing that it needs to fetch tiles in order to be able to render the scene, the BeforeDynamicDraw will get fired. When the last missing tile will be available and rendered the AfterDynamicDraw event will get fired.Note that it is not valid to use the DynamicDisplay API, nor the OpenGL API in this context, since the OpenGL Rendering Context is not fully setup. Use this context if you need to monitor when the Dynamic Map is still in a process of fetching tiles for rendering the display.
afterDynamicDraw
in interface IDynamicMapEvents
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 |