com.esri.arcgis.controls
Interface IEngineNetworkAnalystHelper2

All Superinterfaces:
IEngineNetworkAnalystHelper, Serializable
All Known Implementing Classes:
EngineNetworkAnalystEnvironment

public interface IEngineNetworkAnalystHelper2
extends IEngineNetworkAnalystHelper, Serializable

Provides access to actions that operate on the network analyst extension.

Product Availability

Available with ArcGIS Engine.


Method Summary
 void addNetworkLocationEx(IGeometry pGeometry, String name)
          Adds a network location to the NAWindow at the specified geometry.
 boolean isCanAddNetworkLocation()
          Indicates if a network location can be added to the NAWindow at the specified geometry.
 boolean isCanMoveNetworkLocation()
          Indicates if the network location of the selected item in the NAWindow can be moevd to the specified geometry.
 void moveNetworkLocation(IPoint pPoint, String name)
          Moves the network location of the selected item in the NAWindow to the specified point.
 void moveNetworkLocationEx(IGeometry pGeometry, String name)
          Moves the network location of the selected item in the NAWindow to the specified geometry.
 
Methods inherited from interface com.esri.arcgis.controls.IEngineNetworkAnalystHelper
addNetworkLocation, deleteAllNetworkLocations, getDirections, solve
 

Method Detail

addNetworkLocationEx

void addNetworkLocationEx(IGeometry pGeometry,
                          String name)
                          throws IOException,
                                 AutomationException
Adds a network location to the NAWindow at the specified geometry.

Product Availability

Available with ArcGIS Engine.

Parameters:
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanAddNetworkLocation

boolean isCanAddNetworkLocation()
                                throws IOException,
                                       AutomationException
Indicates if a network location can be added to the NAWindow at the specified geometry.

Product Availability

Available with ArcGIS Engine.

Returns:
The pEnabled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveNetworkLocation

void moveNetworkLocation(IPoint pPoint,
                         String name)
                         throws IOException,
                                AutomationException
Moves the network location of the selected item in the NAWindow to the specified point.

Product Availability

Available with ArcGIS Engine.

Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveNetworkLocationEx

void moveNetworkLocationEx(IGeometry pGeometry,
                           String name)
                           throws IOException,
                                  AutomationException
Moves the network location of the selected item in the NAWindow to the specified geometry.

Product Availability

Available with ArcGIS Engine.

Parameters:
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanMoveNetworkLocation

boolean isCanMoveNetworkLocation()
                                 throws IOException,
                                        AutomationException
Indicates if the network location of the selected item in the NAWindow can be moevd to the specified geometry.

Product Availability

Available with ArcGIS Engine.

Returns:
The pEnabled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.