com.esri.arcgis.carto
Interface INetworkSourceRenderer

All Superinterfaces:
Serializable
All Known Implementing Classes:
INetworkSourceRendererProxy, NetworkTrafficRenderer, SimpleNetworkRenderer

public interface INetworkSourceRenderer
extends Serializable

Provides access to members that control the display properties of the sources consumed by the renderer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void bindSources(INetworkDataset pNetworkDataset)
          Caches the subset of network sources that can be drawn by this renderer.
 void getSourceNames(IStringArray ppSourceNames)
          The cached subset of network sources that can be drawn by this renderer.
 String getSourceQueryExpression(String sourceName)
          The query expression used to identify the subset of source features whose elements should be rendered.
 boolean isSourceVisible(String sourceName)
          Indicates if elements of the specified source should be rendered.
 boolean isTrafficElementsOnly()
          Indicates if only traffic features should be included in the subset of source features whose elements should be rendered.
 void setIsSourceVisible(String sourceName, boolean visible)
          Indicates if elements of the specified source should be rendered.
 void setSourceQueryExpression(String sourceName, String expression)
          The query expression used to identify the subset of source features whose elements should be rendered.
 

Method Detail

bindSources

void bindSources(INetworkDataset pNetworkDataset)
                 throws IOException,
                        AutomationException
Caches the subset of network sources that can be drawn by this renderer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getSourceNames

void getSourceNames(IStringArray ppSourceNames)
                    throws IOException,
                           AutomationException
The cached subset of network sources that can be drawn by this renderer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
ppSourceNames - A reference to a com.esri.arcgis.system.IStringArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSourceVisible

boolean isSourceVisible(String sourceName)
                        throws IOException,
                               AutomationException
Indicates if elements of the specified source should be rendered.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
sourceName - The sourceName (in)
Returns:
The visible
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsSourceVisible

void setIsSourceVisible(String sourceName,
                        boolean visible)
                        throws IOException,
                               AutomationException
Indicates if elements of the specified source should be rendered.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getSourceQueryExpression

String getSourceQueryExpression(String sourceName)
                                throws IOException,
                                       AutomationException
The query expression used to identify the subset of source features whose elements should be rendered.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
sourceName - The sourceName (in)
Returns:
The expression
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSourceQueryExpression

void setSourceQueryExpression(String sourceName,
                              String expression)
                              throws IOException,
                                     AutomationException
The query expression used to identify the subset of source features whose elements should be rendered.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

isTrafficElementsOnly

boolean isTrafficElementsOnly()
                              throws IOException,
                                     AutomationException
Indicates if only traffic features should be included in the subset of source features whose elements should be rendered.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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