com.esri.arcgis.networkanalyst
Interface INASymbolizer2

All Superinterfaces:
INASymbolizer, Serializable
All Known Implementing Classes:
NAClosestFacilitySymbolizer, NALocationAllocationSymbolizer, NAODCostMatrixSymbolizer, NARouteSymbolizer, NAServiceAreaSymbolizer, NAVRPSymbolizer

public interface INASymbolizer2
extends INASymbolizer, Serializable

Provides access to the analysis result drawing.

Remarks

NASymbolizer2 creates the default symbology for the input and output classes of an NASolver's NAContext. For example, the stops for a route solver are symbolized with located, unlocated or error symbols.

The INASymbolizer2 inteface is used by the various symbolizer objects (NARouteSymbolizer, NAClosestFacilitySymbolizer, NAServiceAreaSymbolizer, NAODCostMatrixSymbolizer) to reset an NALayer's symbology based on a seed color.

Product Availability

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


Method Summary
 void resetRenderers(IColor solverColor, INALayer nALayer)
          Resets the renderers based on the provided solver color.
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INASymbolizer
applies, createLayer, getPriority, updateLayer
 

Method Detail

resetRenderers

void resetRenderers(IColor solverColor,
                    INALayer nALayer)
                    throws IOException,
                           AutomationException
Resets the renderers based on the provided solver color.

Remarks

ResetRenderers resets the NALayer's renderers based on a specified seed color. This is useful if you want to clear all changes users have made to the symbology of any of the NALayer's sublayers.

Product Availability

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

Parameters:
solverColor - A reference to a com.esri.arcgis.display.IColor (in)
nALayer - A reference to a com.esri.arcgis.networkanalyst.INALayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.