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, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
INAStreetDirection3Proxy

public class INAStreetDirection2Proxy
extends INAStreetDirectionProxy
implements INAStreetDirection2, java.io.Serializable

Internal use class Proxy for COM Interface 'INAStreetDirection2'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to a street direction item.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirection2
IID, IID5efc99fd_8f0e_42b4_b395_392bf5cce24f
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INAStreetDirection
IID52464c51_db57_4f83_932c_69a0fc6888db
 
Constructor Summary
  INAStreetDirection2Proxy()
          For internal use only
  INAStreetDirection2Proxy(java.lang.Object obj)
           
protected INAStreetDirection2Proxy(java.lang.Object obj, java.lang.String iid)
           
  INAStreetDirection2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected INAStreetDirection2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 double getCumulativeLength()
          The cumulative driving length (in directions length units).
 java.util.Date getEstimatedArrivalTime()
          The estimated time of arrival.
 void removeListener(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

INAStreetDirection2Proxy

public INAStreetDirection2Proxy(java.lang.String CLSID,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.net.UnknownHostException,
                                java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

INAStreetDirection2Proxy

public INAStreetDirection2Proxy()
For internal use only


INAStreetDirection2Proxy

public INAStreetDirection2Proxy(java.lang.Object obj)
                         throws java.io.IOException
Throws:
java.io.IOException

INAStreetDirection2Proxy

protected INAStreetDirection2Proxy(java.lang.Object obj,
                                   java.lang.String iid)
                            throws java.io.IOException
Throws:
java.io.IOException

INAStreetDirection2Proxy

protected INAStreetDirection2Proxy(java.lang.String CLSID,
                                   java.lang.String iid,
                                   java.lang.String host,
                                   com.esri.arcgis.interop.AuthInfo authInfo)
                            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class INAStreetDirectionProxy
Throws:
java.io.IOException

removeListener

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

getCumulativeLength

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

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

getEstimatedArrivalTime

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

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