|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEngineNetworkAnalystEnvironment
Provides access to the network analyst extension.
The IEngineNetworkAnalystEnvironment interface is the main interface on the EngineNetworkAnalystEnvironment singleton object and used to access the INetworkLayer objects and the NAWindow.
Method Summary | |
---|---|
INetworkLayer |
getCurrentNetworkLayer()
The current network layer. |
IEngineNAWindow |
getNAWindow()
The network analysis window. |
INetworkLayer |
getNetworkLayer(int index)
The network layer by index. |
int |
getNetworkLayerCount()
The number of network layers. |
int |
getShowAnalysisMessagesAfterSolve()
The types of messages that are displayed after solving. |
boolean |
isZoomToResultAfterSolve()
Indicates if the window should zoom the map to show results after solving. |
void |
setCurrentNetworkLayer(INetworkLayer layer)
The current network layer. |
void |
setShowAnalysisMessagesAfterSolve(int messageTypes)
The types of messages that are displayed after solving. |
void |
setZoomToResultAfterSolve(boolean flag)
Indicates if the window should zoom the map to show results after solving. |
Method Detail |
---|
IEngineNAWindow getNAWindow() throws IOException, AutomationException
Returns the Engine Network Analyst Window.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNetworkLayerCount() throws IOException, AutomationException
Returns the number of INetworkLayer objects referencing NetworkDataset objects in the map.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetworkLayer getNetworkLayer(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetworkLayer getCurrentNetworkLayer() throws IOException, AutomationException
The currently selected INetworkLayer object.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCurrentNetworkLayer(INetworkLayer layer) throws IOException, AutomationException
layer
- A reference to a com.esri.arcgis.carto.INetworkLayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isZoomToResultAfterSolve() throws IOException, AutomationException
Indicates if the display will automatically zoom to the extent of the analysis results once the network analysis is complete. By deafult this property is false.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setZoomToResultAfterSolve(boolean flag) throws IOException, AutomationException
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getShowAnalysisMessagesAfterSolve() throws IOException, AutomationException
The type of messages displayed when a solve completes.
For example, esriEngineNAMessageTypeNone (0) means you do not want to see any messages after solve and esriEngineNAMessageTypeError + esriEngineNAMessageTypeWarning (6) means you just want to see errors and warnings.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowAnalysisMessagesAfterSolve(int messageTypes) throws IOException, AutomationException
messageTypes
- The messageTypes (in)
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 |