com.esri.arcgis.networkanalyst
Class INAContextEventsAdapter

java.lang.Object
  extended by com.esri.arcgis.networkanalyst.INAContextEventsAdapter
All Implemented Interfaces:
INAContextEvents, Serializable, EventListener

public class INAContextEventsAdapter
extends Object
implements INAContextEvents

See Also:
Serialized Form

Constructor Summary
INAContextEventsAdapter()
           
 
Method Summary
 void onNAContextUpdated(INAContextEventsOnNAContextUpdatedEvent theEvent)
          Called when the network analysis context is updated.
 void onNAResultUpdated(INAContextEventsOnNAResultUpdatedEvent theEvent)
          Called when the network analysis result is updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

INAContextEventsAdapter

public INAContextEventsAdapter()
Method Detail

onNAContextUpdated

public void onNAContextUpdated(INAContextEventsOnNAContextUpdatedEvent theEvent)
                        throws IOException,
                               AutomationException
Called when the network analysis context is updated.

Remarks

OnNAContextUpdated is raised in response to ContextChanged being called on INAContextEdit. For example, this occurs when new NALocationFeatures are added to an NAClass.

Product Availability

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

Specified by:
onNAContextUpdated in interface INAContextEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onNAResultUpdated

public void onNAResultUpdated(INAContextEventsOnNAResultUpdatedEvent theEvent)
                       throws IOException,
                              AutomationException
Called when the network analysis result is updated.

Remarks

OnNAResultUpdated is raised in response to ResultChanged being called on INAContextEdit. It signifies that something in the NATraversalResult has been modified. For example, the solver performed network analysis and updated the results.

Product Availability

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

Specified by:
onNAResultUpdated in interface INAContextEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.