|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEngineNetworkAnalystEnvironmentEvents
Provides access to events triggered by the network analysis extension.
The IEngineNetworkAnalystEnvironmentEvents interface is an outgoing interface on the EngineNetworkAnalystEnvironment singleton object that is used to notify listeners when a new INetworkLayer object referencing a NetworkDataset is added to the map or when the IEngineNetworkAnalystEnvironment::CurrentNetworkLayer is changed.
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. |
Method Detail |
---|
void onNetworkLayersChanged(IEngineNetworkAnalystEnvironmentEventsOnNetworkLayersChangedEvent theEvent) throws IOException, AutomationException
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.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void onCurrentNetworkLayerChanged(IEngineNetworkAnalystEnvironmentEventsOnCurrentNetworkLayerChangedEvent theEvent) throws IOException, AutomationException
The OnCurrentNetworkLayerChanged event is fired when the user interactively changes the NetworkDataset or the IEngineNetworkAnalystEnvironment::CurrentNetworkLayer is set programatically.
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |