com.esri.arcgis.controls
Class IEngineNetworkAnalystEnvironmentEventsAdapter

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

public class IEngineNetworkAnalystEnvironmentEventsAdapter
extends Object
implements IEngineNetworkAnalystEnvironmentEvents

See Also:
Serialized Form

Constructor Summary
IEngineNetworkAnalystEnvironmentEventsAdapter()
           
 
Method Summary
 void onCurrentNetworkLayerChanged(IEngineNetworkAnalystEnvironmentEventsOnCurrentNetworkLayerChangedEvent theEvent)
          Called when the current network layer has changed.
 void onNetworkLayersChanged(IEngineNetworkAnalystEnvironmentEventsOnNetworkLayersChangedEvent theEvent)
          Called when the network layers have changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IEngineNetworkAnalystEnvironmentEventsAdapter

public IEngineNetworkAnalystEnvironmentEventsAdapter()
Method Detail

onNetworkLayersChanged

public void onNetworkLayersChanged(IEngineNetworkAnalystEnvironmentEventsOnNetworkLayersChangedEvent theEvent)
                            throws IOException,
                                   AutomationException
Called when the network layers have changed.

Description

The OnNetworkLayersChanged event is fired when a new INetworkLayer object is added, removed, or renamed within a map.

If the INetworkLayer is renamed interactively through the user interface OnNetworkLayersChanged is fired. If the INetworkLayer is renamed programmatically using the ILayer::Name property OnNetworkLayersChanged is not fired.

Product Availability

Available with ArcGIS Engine.

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

onCurrentNetworkLayerChanged

public void onCurrentNetworkLayerChanged(IEngineNetworkAnalystEnvironmentEventsOnCurrentNetworkLayerChangedEvent theEvent)
                                  throws IOException,
                                         AutomationException
Called when the current network layer has changed.

Description

The OnCurrentNetworkLayerChanged event is fired when the user interactively changes the NetworkDataset or the IEngineNetworkAnalystEnvironment::CurrentNetworkLayer is set programatically.

Product Availability

Available with ArcGIS Engine.

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