com.esri.arcgis.carto
Interface INetworkRendererCollection

All Superinterfaces:
Serializable
All Known Implementing Classes:
NetworkLayer

public interface INetworkRendererCollection
extends Serializable

Provides access to members that manage the collection of network renderers.

Product Availability

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


Method Summary
 void add(INetworkRenderer renderer)
          Adds a network renderer to the collection.
 int getCount()
          Number of network renderers in the collection.
 void insert(INetworkRenderer renderer, int index)
          Inserts a network renderer at the specified position in the collection.
 boolean isVisible(int index)
          Indicates if a network renderer at the specific position is visible.
 INetworkRenderer next()
          Retrieves the next network renderer in the enumeration.
 void remove(INetworkRenderer renderer)
          Removes a network renderer from the collection.
 void removeAll()
          Removes all of the network renderers from the collection.
 void reset()
          Resets the enumeration sequence to the beginning.
 void setVisible(int index, boolean visible)
          Indicates if a network renderer at the specific position is visible.
 

Method Detail

add

void add(INetworkRenderer renderer)
         throws IOException,
                AutomationException
Adds a network renderer to the collection.

Product Availability

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

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

remove

void remove(INetworkRenderer renderer)
            throws IOException,
                   AutomationException
Removes a network renderer from the collection.

Product Availability

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

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

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all of the network renderers from the collection.

Product Availability

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

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

insert

void insert(INetworkRenderer renderer,
            int index)
            throws IOException,
                   AutomationException
Inserts a network renderer at the specified position in the collection.

Product Availability

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

Parameters:
renderer - A reference to a com.esri.arcgis.carto.INetworkRenderer (in)
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

boolean isVisible(int index)
                  throws IOException,
                         AutomationException
Indicates if a network renderer at the specific position is visible.

Product Availability

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

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

setVisible

void setVisible(int index,
                boolean visible)
                throws IOException,
                       AutomationException
Indicates if a network renderer at the specific position is visible.

Product Availability

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

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

getCount

int getCount()
             throws IOException,
                    AutomationException
Number of network renderers in the collection.

Product Availability

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

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

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration sequence to the beginning.

Product Availability

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

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

next

INetworkRenderer next()
                      throws IOException,
                             AutomationException
Retrieves the next network renderer in the enumeration.

Product Availability

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

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