com.esri.arcgis.networkanalyst
Interface INAStopRenderer2

All Superinterfaces:
INAStopRenderer, Serializable
All Known Implementing Classes:
NAStopRenderer

public interface INAStopRenderer2
extends INAStopRenderer, Serializable

Provides access to symbols used to display stops.

Remarks

The INAStopRenderer interface is used to set up the symoblogy used by the NAStopRenderer. It provides the ability to change the ErrorSymbol, StopSymbol, TextSymbol, TimeViolationSymbol, and UnlocatedSymbol.

Product Availability

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


Method Summary
 ILegendClass getLegendClass(int symbolType)
          The legend class associated with the stop symbol type.
 int getStopSymbolPosition(int symbolType)
          The stop symbol position of the symbol type in the group of all stop renderer symbol types.
 boolean isVisible(int symbolType)
          Indicates if the stop symbol type is visible.
 void moveStopSymbol(int symbolType, int newPosition)
          Move the stop symbol type to the new position in the group of all stop renderer symbol types.
 void setVisible(int symbolType, boolean show)
          Indicates if the stop symbol type is visible.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAStopRenderer
getErrorSymbol, getStopSymbol, getTextSymbol, getTimeViolationSymbol, getUnlocatedSymbol, setErrorSymbol, setStopSymbol, setTextSymbol, setTimeViolationSymbol, setUnlocatedSymbol
 

Method Detail

getStopSymbolPosition

int getStopSymbolPosition(int symbolType)
                          throws IOException,
                                 AutomationException
The stop symbol position of the symbol type in the group of all stop renderer symbol types.

Product Availability

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

Parameters:
symbolType - A com.esri.arcgis.networkanalyst.esriNAStopSymbolType constant (in)
Returns:
The position
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveStopSymbol

void moveStopSymbol(int symbolType,
                    int newPosition)
                    throws IOException,
                           AutomationException
Move the stop symbol type to the new position in the group of all stop renderer symbol types.

Remarks

This method moves the specified stop symbol to another position within the NAStopRenderer.

Product Availability

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

Parameters:
symbolType - A com.esri.arcgis.networkanalyst.esriNAStopSymbolType constant (in)
newPosition - The newPosition (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

boolean isVisible(int symbolType)
                  throws IOException,
                         AutomationException
Indicates if the stop symbol type is visible.

Product Availability

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

Parameters:
symbolType - A com.esri.arcgis.networkanalyst.esriNAStopSymbolType constant (in)
Returns:
The show
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVisible

void setVisible(int symbolType,
                boolean show)
                throws IOException,
                       AutomationException
Indicates if the stop symbol type is visible.

Product Availability

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

Parameters:
symbolType - A com.esri.arcgis.networkanalyst.esriNAStopSymbolType constant (in)
show - The show (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLegendClass

ILegendClass getLegendClass(int symbolType)
                            throws IOException,
                                   AutomationException
The legend class associated with the stop symbol type.

Product Availability

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

Parameters:
symbolType - A com.esri.arcgis.networkanalyst.esriNAStopSymbolType constant (in)
Returns:
A reference to a com.esri.arcgis.carto.ILegendClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.