com.esri.arcgis.trackinganalyst
Interface ITemporalRendererNotify

All Superinterfaces:
Serializable
All Known Implementing Classes:
ITemporalRendererNotifyProxy

public interface ITemporalRendererNotify
extends Serializable

Provides access to notification states for the parent temporal renderer to notify the children renderers about rendering events.

Description

This interface is new at ArcGIS 9.3.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.


Method Summary
 void finishRendering(int enumDrawPhase, IDisplay piDisplay, ITrackCancel piTrackCancel)
          Notification that rendering for a phase is finished.
 void startRendering(int enumDrawPhase, IDisplay piDisplay, ITrackCancel piTrackCancel)
          Notification that rendering for a phase is starting.
 

Method Detail

startRendering

void startRendering(int enumDrawPhase,
                    IDisplay piDisplay,
                    ITrackCancel piTrackCancel)
                    throws IOException,
                           AutomationException
Notification that rendering for a phase is starting.

Remarks

Use this notification to initialize your event renderer or perform other actions are the start of the rendering phase.

For example, let's say you want to draw lines connecting all the features in your FeatureClass with a common attribute. You could use this notification to initialize a hash map to store feature information as they are rendered. You can then use the FinishRendering notification to render the lines to the display.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Parameters:
enumDrawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)
piDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
piTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ITemporalRendererNotify.finishRendering(int, com.esri.arcgis.display.IDisplay, com.esri.arcgis.system.ITrackCancel)

finishRendering

void finishRendering(int enumDrawPhase,
                     IDisplay piDisplay,
                     ITrackCancel piTrackCancel)
                     throws IOException,
                            AutomationException
Notification that rendering for a phase is finished.

Remarks

Use this notification to complete rendering operations that may need knowledge of all the rendered features. Without this notification there is no way to know when all of the features have been rendered to the display.

For example, let's say you want to draw lines connecting all the features in your FeatureClass with a common attribute. You could use the StartRendering notification to initialize a hash map to store feature information as they are r You can then use this notification to render the lines to the display.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Parameters:
enumDrawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)
piDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
piTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ITemporalRendererNotify.startRendering(int, com.esri.arcgis.display.IDisplay, com.esri.arcgis.system.ITrackCancel)