|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalyst.NAODCostMatrixSymbolizer
public class NAODCostMatrixSymbolizer
Symbolizes origin-destination matrix analysis results.
NAODCostMatrixSymbolizer allows you to create a new symbolizer for use with an OD cost matrix layer and register it with the NASymbolizer category. If a symbolizer has a higher priority than the default symbolizer then it will be used in place of the default symbolizer. For example, the default origin symbol could be changed from a dot to a cross.
Constructor Summary | |
---|---|
NAODCostMatrixSymbolizer()
Constructs a NAODCostMatrixSymbolizer using ArcGIS Engine. |
|
NAODCostMatrixSymbolizer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NAODCostMatrixSymbolizer theNAODCostMatrixSymbolizer = (NAODCostMatrixSymbolizer) obj; |
Method Summary | |
---|---|
boolean |
applies(INAContext nAContext)
Indicates if the symbolizer applies to the analysis context. |
INALayer |
createLayer(INAContext nAContext)
Creates a new analysis layer. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getPriority()
The priority is used to determine the best symbolizer to symbolize a network analysis layer. |
int |
hashCode()
the hashcode for this object |
void |
resetRenderers(IColor solverColor,
INALayer nALayer)
Resets the renderers based on the provided solver color. |
boolean |
updateLayer(INALayer nALayer)
Updates an existing analysis layer. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public NAODCostMatrixSymbolizer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic NAODCostMatrixSymbolizer(Object obj) throws IOException
NAODCostMatrixSymbolizer theNAODCostMatrixSymbolizer = (NAODCostMatrixSymbolizer) obj;
obj
to NAODCostMatrixSymbolizer
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean applies(INAContext nAContext) throws IOException, AutomationException
Applies returns true or false if the symbolizer applies to the solver context specified by NAContext.
applies
in interface INASymbolizer
nAContext
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPriority() throws IOException, AutomationException
get_Priority returns the priority of the NASymbolizer. This allows a custom symbolizer with higher priority to be registered with NASymbolizer to be used in place of the default symbolizer for a particular NAContext.
getPriority
in interface INASymbolizer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INALayer createLayer(INAContext nAContext) throws IOException, AutomationException
CreateLayer creates the symbology for an NALayer's sublayers. For example, the stops for a route solver are symbolized with located, unlocated, or error symbols.
createLayer
in interface INASymbolizer
nAContext
- A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean updateLayer(INALayer nALayer) throws IOException, AutomationException
UpdateLayer updates the existing renderer such as when a service area solver is run again with a different set of breaks.
updateLayer
in interface INASymbolizer
nALayer
- A reference to a com.esri.arcgis.networkanalyst.INALayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetRenderers(IColor solverColor, INALayer nALayer) throws IOException, AutomationException
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.
resetRenderers
in interface INASymbolizer2
solverColor
- A reference to a com.esri.arcgis.display.IColor (in)nALayer
- A reference to a com.esri.arcgis.networkanalyst.INALayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |