com.esri.arcgis.carto
Class DefaultNetworkLayerSymbology

java.lang.Object
  extended by com.esri.arcgis.carto.DefaultNetworkLayerSymbology
All Implemented Interfaces:
INetworkLayerSymbology, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class DefaultNetworkLayerSymbology
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INetworkLayerSymbology

The default network layer symbolizer that generates symbology for network layers.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
DefaultNetworkLayerSymbology()
          Constructs a DefaultNetworkLayerSymbology using ArcGIS Engine.
DefaultNetworkLayerSymbology(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DefaultNetworkLayerSymbology theDefaultNetworkLayerSymbology = (DefaultNetworkLayerSymbology) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 double getPriority()
          The priority is used to determine the best symbolizer to symbolize a network layer.
 int hashCode()
          the hashcode for this object
 boolean isCanSymbolize(INetworkLayer layer)
          Indicates if it can create symbology for this type of network layer.
 void symbolize(INetworkLayer layer)
          Generates symbology for the network 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

DefaultNetworkLayerSymbology

public DefaultNetworkLayerSymbology()
                             throws IOException,
                                    UnknownHostException
Constructs a DefaultNetworkLayerSymbology using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

DefaultNetworkLayerSymbology

public DefaultNetworkLayerSymbology(Object obj)
                             throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DefaultNetworkLayerSymbology theDefaultNetworkLayerSymbology = (DefaultNetworkLayerSymbology) obj;

Construct a DefaultNetworkLayerSymbology using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DefaultNetworkLayerSymbology.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

isCanSymbolize

public boolean isCanSymbolize(INetworkLayer layer)
                       throws IOException,
                              AutomationException
Indicates if it can create symbology for this type of network layer.

Product Availability

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

Specified by:
isCanSymbolize in interface INetworkLayerSymbology
Parameters:
layer - A reference to a com.esri.arcgis.carto.INetworkLayer (in)
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPriority

public double getPriority()
                   throws IOException,
                          AutomationException
The priority is used to determine the best symbolizer to symbolize a network layer. If multiple symbolizers can symbolize the network layer, the one with the largest numeric value for priority is chosen.

Product Availability

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

Specified by:
getPriority in interface INetworkLayerSymbology
Returns:
The priority
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

symbolize

public void symbolize(INetworkLayer layer)
               throws IOException,
                      AutomationException
Generates symbology for the network layer.

Product Availability

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

Specified by:
symbolize in interface INetworkLayerSymbology
Parameters:
layer - A reference to a com.esri.arcgis.carto.INetworkLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.