com.esri.arcgis.carto
Class IEnumLocatedNetworkElementProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IEnumLocatedNetworkElementProxy
All Implemented Interfaces:
IEnumLocatedNetworkElement, Externalizable, Serializable

public class IEnumLocatedNetworkElementProxy
extends com.esri.arcgis.interop.Dispatch
implements IEnumLocatedNetworkElement, Serializable

Provides access to members that hand out enumerated network elements, and reset the enumeration.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IEnumLocatedNetworkElementProxy()
           
  IEnumLocatedNetworkElementProxy(Object obj)
           
protected IEnumLocatedNetworkElementProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 INetworkDataset getNetworkDataset()
          Network dataset of the enumerated network elements.
 int next(IGeometry[] elementGeometry, int[] elementType)
          Retrieves the geometry, element type, and element id of the next network element in the enumeration sequence.
 void removeListener(String iidStr, Object theListener)
           
 void reset()
          Resets the enumeration seqeuence to the beginning.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IEnumLocatedNetworkElementProxy

public IEnumLocatedNetworkElementProxy()

IEnumLocatedNetworkElementProxy

public IEnumLocatedNetworkElementProxy(Object obj)
                                throws IOException
Throws:
IOException

IEnumLocatedNetworkElementProxy

protected IEnumLocatedNetworkElementProxy(Object obj,
                                          String iid)
                                   throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

reset

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

Product Availability

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

Specified by:
reset in interface IEnumLocatedNetworkElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public int next(IGeometry[] elementGeometry,
                int[] elementType)
         throws IOException,
                AutomationException
Retrieves the geometry, element type, and element id of the next network element in the enumeration sequence.

Product Availability

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

Specified by:
next in interface IEnumLocatedNetworkElement
Parameters:
elementGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in/out: use single element array)
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in/out: use single element array)
Returns:
The elementID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkDataset

public INetworkDataset getNetworkDataset()
                                  throws IOException,
                                         AutomationException
Network dataset of the enumerated network elements.

Product Availability

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

Specified by:
getNetworkDataset in interface IEnumLocatedNetworkElement
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.