com.esri.arcgis.networkanalyst
Interface INALayer

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
INALayer2, INALayer3
All Known Implementing Classes:
INALayer2Proxy, INALayer3Proxy, INALayerProxy, NALayer

public interface INALayer
extends java.io.Serializable

COM Interface 'INALayer'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to the network analysis layer.' 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
static java.lang.String IID
          Deprecated. Internal use only
static int IID667b776b_5905_4450_9c94_18b214ece8fb
           
static int xxDummy
          Deprecated. Internal use only
 
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(java.lang.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.
 

Field Detail

IID667b776b_5905_4450_9c94_18b214ece8fb

static final int IID667b776b_5905_4450_9c94_18b214ece8fb
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setContextByRef

void setContextByRef(INAContext nAContext)
                     throws java.io.IOException,
                            AutomationException
The network analysis context.

Parameters:
nAContext - A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContext

INAContext getContext()
                      throws java.io.IOException,
                             AutomationException
The network analysis context.

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

getLayerByNAClassName

ILayer getLayerByNAClassName(java.lang.String name)
                             throws java.io.IOException,
                                    AutomationException
The network analysis layer by class name.

Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(ILayer layer)
         throws java.io.IOException,
                AutomationException
Add a new layer.

Parameters:
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

void delete(ILayer layer)
            throws java.io.IOException,
                   AutomationException
Delete an existing layer.

Parameters:
layer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws java.io.IOException,
                  AutomationException
Clear all analysis layers.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isExpanded

boolean isExpanded()
                   throws java.io.IOException,
                          AutomationException
Indicates if the network analysis layer is expanded or collapsed in the TOC of the map.

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

setExpanded

void setExpanded(boolean expanded)
                 throws java.io.IOException,
                        AutomationException
Indicates if the network analysis layer is expanded or collapsed in the TOC of the map.

Parameters:
expanded - The expanded (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.