com.esri.arcgis.controls
Interface IEngineNAWindow2

All Superinterfaces:
IEngineNAWindow, Serializable
All Known Implementing Classes:
IEngineNAWindow2Proxy

public interface IEngineNAWindow2
extends IEngineNAWindow, Serializable

Provides access to the network analysis window.

Description

The IEngineNAWindow2 inherits from the IEngineNAWindow interface, the main interface on the IEngineNetworkAnalystEnvironment::NAWindow. It provides methods to access the NALayer and to edit INAContext::NAClasses within the context of an undo/redo operation.

In addition to the methods on IEngineNAWindow, there is an extra property ActiveCategoryGroup that allows you to determine the active group when the category supports groups. Currently "Stops" is the only category that supports multiple groups where they are used to specify multiple routes in one analysis layer.

Product Availability

Available with ArcGIS Engine.


Method Summary
 IEngineNAWindowCategoryGroup getActiveCategoryGroup()
          The current category group shown in the window.
 void setActiveCategoryGroup(IEngineNAWindowCategoryGroup group)
          The current category group shown in the window.
 
Methods inherited from interface com.esri.arcgis.controls.IEngineNAWindow
abortOperation, delayEvents, delayWindowUpdates, getActiveAnalysis, getActiveCategory, getCategoryByNAClassName, getHWnd, getItemSelectionColor, getSelection, setActiveAnalysis, setActiveCategory, setItemSelectionColor, setMessage, startOperation, stopOperation, updateContent
 

Method Detail

getActiveCategoryGroup

IEngineNAWindowCategoryGroup getActiveCategoryGroup()
                                                    throws IOException,
                                                           AutomationException
The current category group shown in the window.

Description

The ActiveCategoryGroup property allows you to determine the active group when the category supports groups. Currently "Stops" is the only category that supports multiple groups where they are used to specify multiple routes in one analysis layer.

Product Availability

Available with ArcGIS Engine.

Returns:
A reference to a com.esri.arcgis.controls.IEngineNAWindowCategoryGroup
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveCategoryGroup

void setActiveCategoryGroup(IEngineNAWindowCategoryGroup group)
                            throws IOException,
                                   AutomationException
The current category group shown in the window.

Product Availability

Available with ArcGIS Engine.

Parameters:
group - A reference to a com.esri.arcgis.controls.IEngineNAWindowCategoryGroup (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.