com.esri.arcgis.carto
Interface INetworkLayer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
INetworkLayerProxy, NetworkLayer

public interface INetworkLayer
extends java.io.Serializable

COM Interface 'INetworkLayer'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control a network 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 IID82870538_e09e_42c0_9228_cbcb244b91ba
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void expandRegionForSymbols(IDisplay display, IGeometry region)
          Expands the given geometry by an amount that will include the layer's symbology for the given display.
 java.lang.String getDisplayAttribute()
          The primary display network attribute.
 INetworkDataset getNetworkDataset()
          The Network Dataset used to define the layer.
 boolean isScaleSymbols()
          Indicates if symbols are scaled for the layer.
 IEnumLocatedNetworkElement searchLocatedNetworkElements(java.lang.String sourceName, IGeometry geometry)
          Searches through the specified network dataset's source and returns an enumeration of network locations that intersect the input geometry.
 void setDisplayAttribute(java.lang.String attName)
          The primary display network attribute.
 void setNetworkDatasetByRef(INetworkDataset nds)
          The Network Dataset used to define the layer.
 void setScaleSymbols(boolean scale)
          Indicates if symbols are scaled for the layer.
 

Field Detail

IID82870538_e09e_42c0_9228_cbcb244b91ba

static final int IID82870538_e09e_42c0_9228_cbcb244b91ba
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

getNetworkDataset

INetworkDataset getNetworkDataset()
                                  throws java.io.IOException,
                                         AutomationException
The Network Dataset used to define the layer.

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

setNetworkDatasetByRef

void setNetworkDatasetByRef(INetworkDataset nds)
                            throws java.io.IOException,
                                   AutomationException
The Network Dataset used to define the layer.

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

getDisplayAttribute

java.lang.String getDisplayAttribute()
                                     throws java.io.IOException,
                                            AutomationException
The primary display network attribute.

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

setDisplayAttribute

void setDisplayAttribute(java.lang.String attName)
                         throws java.io.IOException,
                                AutomationException
The primary display network attribute.

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

isScaleSymbols

boolean isScaleSymbols()
                       throws java.io.IOException,
                              AutomationException
Indicates if symbols are scaled for the layer.

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

setScaleSymbols

void setScaleSymbols(boolean scale)
                     throws java.io.IOException,
                            AutomationException
Indicates if symbols are scaled for the layer.

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

expandRegionForSymbols

void expandRegionForSymbols(IDisplay display,
                            IGeometry region)
                            throws java.io.IOException,
                                   AutomationException
Expands the given geometry by an amount that will include the layer's symbology for the given display.

Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
region - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchLocatedNetworkElements

IEnumLocatedNetworkElement searchLocatedNetworkElements(java.lang.String sourceName,
                                                        IGeometry geometry)
                                                        throws java.io.IOException,
                                                               AutomationException
Searches through the specified network dataset's source and returns an enumeration of network locations that intersect the input geometry.

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