com.esri.arcgis.networkanalyst
Interface INALayerEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
INALayerEventsAdapter

public interface INALayerEvents
extends EventListener, Serializable

Provides access to events triggered by the network analysis layer.

Product Availability

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


Method Summary
 void onInUseByBackgroundChanged(INALayerEventsOnInUseByBackgroundChangedEvent theEvent)
          Called after the in use by background status of the analysis layer is modified.
 void onNAContextAttached(INALayerEventsOnNAContextAttachedEvent theEvent)
          Called after a different network analysis context is attached to the analysis layer.
 void onNAContextDetached(INALayerEventsOnNAContextDetachedEvent theEvent)
          Called after the network analysis context is detached from the analysis layer.
 

Method Detail

onNAContextDetached

void onNAContextDetached(INALayerEventsOnNAContextDetachedEvent theEvent)
                         throws IOException,
                                AutomationException
Called after the network analysis context is detached from the analysis layer.

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.

onNAContextAttached

void onNAContextAttached(INALayerEventsOnNAContextAttachedEvent theEvent)
                         throws IOException,
                                AutomationException
Called after a different network analysis context is attached to the analysis layer.

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.

onInUseByBackgroundChanged

void onInUseByBackgroundChanged(INALayerEventsOnInUseByBackgroundChangedEvent theEvent)
                                throws IOException,
                                       AutomationException
Called after the in use by background status of the analysis layer is modified.

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.