com.esri.arcgis.schematic
Interface ISchematicAlgorithmEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
ISchematicAlgorithmEventsAdapter, ISchematicAlgorithmEventsProxy, NgProject, SchematicAlgoLabelPlacementOptimizer, SchematicAlgoMarkCrossings, SchematicAlgoRotateNodesAlongLinks

public interface ISchematicAlgorithmEvents
extends EventListener, Serializable

Provides access to events that occur when a schematic algorithm is executed.

Product Availability

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

See Also:
ISchematicAlgorithm

Method Summary
 void afterExecuteAlgorithm(ISchematicAlgorithmEventsAfterExecuteAlgorithmEvent theEvent)
          Fires after any schematic algorithm execution on any view.
 boolean beforeExecuteAlgorithm(ISchematicAlgorithmEventsBeforeExecuteAlgorithmEvent theEvent)
          Fires before any schematic algorithm execution on any view.
 

Method Detail

beforeExecuteAlgorithm

boolean beforeExecuteAlgorithm(ISchematicAlgorithmEventsBeforeExecuteAlgorithmEvent theEvent)
                               throws IOException,
                                      AutomationException
Fires before any schematic algorithm execution on any view. Returns TRUE if the schematic algorithm must be interrupted.

Product Availability

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

Parameters:
theEvent - The event
Returns:
The pCancel
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISchematicAlgorithmEvents.afterExecuteAlgorithm(com.esri.arcgis.schematic.ISchematicAlgorithmEventsAfterExecuteAlgorithmEvent)

afterExecuteAlgorithm

void afterExecuteAlgorithm(ISchematicAlgorithmEventsAfterExecuteAlgorithmEvent theEvent)
                           throws IOException,
                                  AutomationException
Fires after any schematic algorithm execution on any view.

Product Availability

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

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISchematicAlgorithmEvents.beforeExecuteAlgorithm(com.esri.arcgis.schematic.ISchematicAlgorithmEventsBeforeExecuteAlgorithmEvent)