com.esri.arcgis.networkanalyst
Class INAStreetDirection2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalyst.INAStreetDirectionProxy
          extended by com.esri.arcgis.networkanalyst.INAStreetDirection2Proxy
All Implemented Interfaces:
INAStreetDirection, INAStreetDirection2, Externalizable, Serializable
Direct Known Subclasses:
INAStreetDirection3Proxy

public class INAStreetDirection2Proxy
extends INAStreetDirectionProxy
implements INAStreetDirection2, Serializable

Provides access to a street direction item.

Remarks

The INAStreetDirection2 interface provides access to each direction element.

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
  INAStreetDirection2Proxy()
           
  INAStreetDirection2Proxy(Object obj)
           
protected INAStreetDirection2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 double getCumulativeLength()
          The cumulative driving length (in directions length units).
 Date getEstimatedArrivalTime()
          The estimated time of arrival.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.networkanalyst.INAStreetDirectionProxy
getDriveTime, getEnvelope, getLength, getManeuverPoint, getResultElement, getResultObjectCount, getString, getStringCount, getStringType, getTime
 
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
 
Methods inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirection
getDriveTime, getEnvelope, getLength, getManeuverPoint, getResultElement, getResultObjectCount, getString, getStringCount, getStringType, getTime
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

INAStreetDirection2Proxy

public INAStreetDirection2Proxy()

INAStreetDirection2Proxy

public INAStreetDirection2Proxy(Object obj)
                         throws IOException
Throws:
IOException

INAStreetDirection2Proxy

protected INAStreetDirection2Proxy(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 INAStreetDirectionProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class INAStreetDirectionProxy
Throws:
IOException

getCumulativeLength

public double getCumulativeLength()
                           throws IOException,
                                  AutomationException
The cumulative driving length (in directions length units).

Remarks

CumulativeLength returns the cumulative length from the beginning of the route.

Product Availability

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

Specified by:
getCumulativeLength in interface INAStreetDirection2
Returns:
The length
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEstimatedArrivalTime

public Date getEstimatedArrivalTime()
                             throws IOException,
                                    AutomationException
The estimated time of arrival.

Remarks

EstimatedArrivalTime returns the estimated time of arrival at the direction element.

Product Availability

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

Specified by:
getEstimatedArrivalTime in interface INAStreetDirection2
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.