com.esri.arcgis.controls
Class IEngineNAWindowEventsAdapter

java.lang.Object
  extended by com.esri.arcgis.controls.IEngineNAWindowEventsAdapter
All Implemented Interfaces:
IEngineNAWindowEvents, Serializable, EventListener

public class IEngineNAWindowEventsAdapter
extends Object
implements IEngineNAWindowEvents

See Also:
Serialized Form

Constructor Summary
IEngineNAWindowEventsAdapter()
           
 
Method Summary
 void onActiveAnalysisChanged(IEngineNAWindowEventsOnActiveAnalysisChangedEvent theEvent)
          Called when the active analysis changes.
 void onActiveCategoryChanged(IEngineNAWindowEventsOnActiveCategoryChangedEvent theEvent)
          Called when the active category changes.
 void onActiveNAContextUpdated(IEngineNAWindowEventsOnActiveNAContextUpdatedEvent theEvent)
          Called when the active context has been updated.
 void onActiveNAResultUpdated(IEngineNAWindowEventsOnActiveNAResultUpdatedEvent theEvent)
          Called when the active result has been updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IEngineNAWindowEventsAdapter

public IEngineNAWindowEventsAdapter()
Method Detail

onActiveCategoryChanged

public void onActiveCategoryChanged(IEngineNAWindowEventsOnActiveCategoryChangedEvent theEvent)
                             throws IOException,
                                    AutomationException
Called when the active category changes.

Description

The OnActiveCategoryChanged event is fired when a different category (e.g. Stops, Barriers, Routes, etc) is chosen within the IEngineNetworkAnalystEnvironment::NAWindow interactively by the end user.

The event is not fired when the IEngineNAWindow::ActiveCategory property is set programatically or if IEngineNAWindow::DelayEvents has been set to true.

Product Availability

Available with ArcGIS Engine.

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

onActiveAnalysisChanged

public void onActiveAnalysisChanged(IEngineNAWindowEventsOnActiveAnalysisChangedEvent theEvent)
                             throws IOException,
                                    AutomationException
Called when the active analysis changes.

Description

The OnActiveAnalysisChanged event is fired when a NALayer is chosen from the dropdown at the top of the IEngineNetworkAnalystEnvironment::NAWindow or the IEngineNAWindow::ActiveAnalysis is programatically set.

The event is not fired when the IEngineNAWindow::ActiveAnalysis property is set programatically to Nothing or if IEngineNAWindow::DelayEvents has been set to true.

Product Availability

Available with ArcGIS Engine.

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

onActiveNAContextUpdated

public void onActiveNAContextUpdated(IEngineNAWindowEventsOnActiveNAContextUpdatedEvent theEvent)
                              throws IOException,
                                     AutomationException
Called when the active context has been updated.

Description

The OnActiveNAContextUpdated event is fired when the NAContext is modified. This includes edits to a NALocationObject in INAContext::NAClasses.

This event is not fired if IEngineNAWindow::DelayEvents has been set to true.

Product Availability

Available with ArcGIS Engine.

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

onActiveNAResultUpdated

public void onActiveNAResultUpdated(IEngineNAWindowEventsOnActiveNAResultUpdatedEvent theEvent)
                             throws IOException,
                                    AutomationException
Called when the active result has been updated.

Description

The OnActiveNAResultUpdated event is fired when a solve is performed and the analysis results have changed.

This event is not fired if IEngineNAWindow::DelayEvents has been set to true.

Product Availability

Available with ArcGIS Engine.

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