|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INALayer
Provides access to the network analysis layer.
INALayer has been superseded by INALayer2.
Method Summary | |
---|---|
void |
add(ILayer layer)
Add a new layer. |
void |
clear()
Clear all analysis layers. |
void |
delete(ILayer layer)
Delete an existing layer. |
INAContext |
getContext()
The network analysis context. |
ILayer |
getLayerByNAClassName(String name)
The network analysis layer by class name. |
boolean |
isExpanded()
Indicates if the network analysis layer is expanded or collapsed in the TOC of the map. |
void |
setContextByRef(INAContext nAContext)
The network analysis context. |
void |
setExpanded(boolean expanded)
Indicates if the network analysis layer is expanded or collapsed in the TOC of the map. |
Method Detail |
---|
void setContextByRef(INAContext nAContext) throws IOException, AutomationException
Sets the NAContext associated with the NALayer. If this is done, it is also necessary to re-attach the sublayers to the NAClasses of the new NAContext as well.
Use INALayer2::AttachContext instead if you want to re-attach a context created with INALayer2::CopyContext since this will re-attach the sublayers for you.
nAContext
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INAContext getContext() throws IOException, AutomationException
Returns the NAContext associated with the NALayer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayer getLayerByNAClassName(String name) throws IOException, AutomationException
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void add(ILayer layer) throws IOException, AutomationException
Adds a sublayer into the NALayer.
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void delete(ILayer layer) throws IOException, AutomationException
Removes a sublayer from the NALayer.
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clear() throws IOException, AutomationException
Removes all of the sublayers from the NALayer.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isExpanded() throws IOException, AutomationException
Specifies if the NALayer is expanded.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExpanded(boolean expanded) throws IOException, AutomationException
Specifies if the NALayer is expanded.
expanded
- The expanded (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 |