|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.controls.EngineNetworkAnalystEnvironment
public class EngineNetworkAnalystEnvironment
COM Class 'EngineNetworkAnalystEnvironment'. Generated 3/19/2015 1:20:48 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description 'A singleton object representing Engine Network Analyst environment.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.controls.IEngineNetworkAnalystEnvironment |
---|
IID, IID639780cc_c92a_4fc1_b2d1_0ccdb44117b8, xxDummy |
Fields inherited from interface com.esri.arcgis.controls.IEngineNetworkAnalystHelper2 |
---|
IID, IID716d2d32_dd52_4881_9990_893a4e86bfd8, xxDummy |
Fields inherited from interface com.esri.arcgis.controls.IEngineNetworkAnalystHelper |
---|
IID9a8b09a3_b728_472b_b623_7d936ee166c3 |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Fields inherited from interface com.esri.arcgis.systemUI.IToolSelectedLayer |
---|
IID, IIDfc6732db_6295_4b39_b257_8c799ae20567, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IExtension |
---|
IID, IID7f657ec9_dbf1_11d2_9f2f_00c04f6bc69e, xxDummy |
Constructor Summary | |
---|---|
EngineNetworkAnalystEnvironment()
Constructs a EngineNetworkAnalystEnvironment using ArcGIS Engine. |
|
EngineNetworkAnalystEnvironment(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EngineNetworkAnalystEnvironment theEngineNetworkAnalystEnvironment = (EngineNetworkAnalystEnvironment) obj; |
Method Summary | |
---|---|
void |
addIEngineNetworkAnalystEnvironmentEventsListener(IEngineNetworkAnalystEnvironmentEvents theListener)
addIEngineNetworkAnalystEnvironmentEventsListener. |
void |
addNetworkLocation(IPoint pPoint,
java.lang.String name)
Adds a network location to the NAWindow at the specified point. |
void |
addNetworkLocationEx(IGeometry pGeometry,
java.lang.String name)
Adds a network location to the NAWindow at the specified geometry. |
void |
deleteAllNetworkLocations()
Delete all network locations of active category for active analysis. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static java.lang.String |
getClsid()
getClsid. |
INetworkLayer |
getCurrentNetworkLayer()
The current network layer. |
INAStreetDirectionsContainer |
getDirections()
Get directions after solving. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getLayerIndex()
The index of selected layer. |
java.lang.String |
getName()
The name of the extension. |
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. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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. |
boolean |
isZoomToResultAfterSolve()
Indicates if the window should zoom the map to show results after solving. |
void |
moveNetworkLocation(IPoint pPoint,
java.lang.String name)
Moves the network location of the selected item in the NAWindow to the specified point. |
void |
moveNetworkLocationEx(IGeometry pGeometry,
java.lang.String name)
Moves the network location of the selected item in the NAWindow to the specified geometry. |
void |
release()
Release a EngineNetworkAnalystEnvironment. |
void |
removeIEngineNetworkAnalystEnvironmentEventsListener(IEngineNetworkAnalystEnvironmentEvents theListener)
removeIEngineNetworkAnalystEnvironmentEventsListener. |
void |
setCurrentNetworkLayer(INetworkLayer layer)
The current network layer. |
void |
setLayerIndex(int layerIndex)
The index of selected 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. |
void |
shutdown()
Shuts down the extension. |
void |
solve()
Solve for current network locations. |
void |
startup(java.lang.Object initializationData)
Starts up the extension with the given initialization data. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EngineNetworkAnalystEnvironment() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic EngineNetworkAnalystEnvironment(java.lang.Object obj) throws java.io.IOException
EngineNetworkAnalystEnvironment theEngineNetworkAnalystEnvironment = (EngineNetworkAnalystEnvironment) obj;
obj
to EngineNetworkAnalystEnvironment
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIEngineNetworkAnalystEnvironmentEventsListener(IEngineNetworkAnalystEnvironmentEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.controls.IEngineNetworkAnalystEnvironmentEvents interface.
java.io.IOException
- If there are communications problems.public void removeIEngineNetworkAnalystEnvironmentEventsListener(IEngineNetworkAnalystEnvironmentEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.controls.IEngineNetworkAnalystEnvironmentEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IEngineNAWindow getNAWindow() throws java.io.IOException, AutomationException
getNAWindow
in interface IEngineNetworkAnalystEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNetworkLayerCount() throws java.io.IOException, AutomationException
getNetworkLayerCount
in interface IEngineNetworkAnalystEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetworkLayer getNetworkLayer(int index) throws java.io.IOException, AutomationException
getNetworkLayer
in interface IEngineNetworkAnalystEnvironment
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetworkLayer getCurrentNetworkLayer() throws java.io.IOException, AutomationException
getCurrentNetworkLayer
in interface IEngineNetworkAnalystEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentNetworkLayer(INetworkLayer layer) throws java.io.IOException, AutomationException
setCurrentNetworkLayer
in interface IEngineNetworkAnalystEnvironment
layer
- A reference to a com.esri.arcgis.carto.INetworkLayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isZoomToResultAfterSolve() throws java.io.IOException, AutomationException
isZoomToResultAfterSolve
in interface IEngineNetworkAnalystEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setZoomToResultAfterSolve(boolean flag) throws java.io.IOException, AutomationException
setZoomToResultAfterSolve
in interface IEngineNetworkAnalystEnvironment
flag
- The flag (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getShowAnalysisMessagesAfterSolve() throws java.io.IOException, AutomationException
getShowAnalysisMessagesAfterSolve
in interface IEngineNetworkAnalystEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowAnalysisMessagesAfterSolve(int messageTypes) throws java.io.IOException, AutomationException
setShowAnalysisMessagesAfterSolve
in interface IEngineNetworkAnalystEnvironment
messageTypes
- The messageTypes (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addNetworkLocation(IPoint pPoint, java.lang.String name) throws java.io.IOException, AutomationException
addNetworkLocation
in interface IEngineNetworkAnalystHelper
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteAllNetworkLocations() throws java.io.IOException, AutomationException
deleteAllNetworkLocations
in interface IEngineNetworkAnalystHelper
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAStreetDirectionsContainer getDirections() throws java.io.IOException, AutomationException
getDirections
in interface IEngineNetworkAnalystHelper
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void solve() throws java.io.IOException, AutomationException
solve
in interface IEngineNetworkAnalystHelper
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addNetworkLocationEx(IGeometry pGeometry, java.lang.String name) throws java.io.IOException, AutomationException
addNetworkLocationEx
in interface IEngineNetworkAnalystHelper2
pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanAddNetworkLocation() throws java.io.IOException, AutomationException
isCanAddNetworkLocation
in interface IEngineNetworkAnalystHelper2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveNetworkLocation(IPoint pPoint, java.lang.String name) throws java.io.IOException, AutomationException
moveNetworkLocation
in interface IEngineNetworkAnalystHelper2
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveNetworkLocationEx(IGeometry pGeometry, java.lang.String name) throws java.io.IOException, AutomationException
moveNetworkLocationEx
in interface IEngineNetworkAnalystHelper2
pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanMoveNetworkLocation() throws java.io.IOException, AutomationException
isCanMoveNetworkLocation
in interface IEngineNetworkAnalystHelper2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerIndex(int layerIndex) throws java.io.IOException, AutomationException
setLayerIndex
in interface IToolSelectedLayer
layerIndex
- The layerIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLayerIndex() throws java.io.IOException, AutomationException
getLayerIndex
in interface IToolSelectedLayer
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IExtension
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void startup(java.lang.Object initializationData) throws java.io.IOException, AutomationException
startup
in interface IExtension
initializationData
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws java.io.IOException, AutomationException
shutdown
in interface IExtension
java.io.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 |