com.esri.arcgis.networkanalyst
Class INAStreetDirectionProxy

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

public class INAStreetDirectionProxy
extends com.esri.arcgis.interop.Dispatch
implements INAStreetDirection, java.io.Serializable

Internal use class Proxy for COM Interface 'INAStreetDirection'. 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.INAStreetDirection
IID, IID52464c51_db57_4f83_932c_69a0fc6888db
 
Constructor Summary
  INAStreetDirectionProxy()
          For internal use only
  INAStreetDirectionProxy(java.lang.Object obj)
           
protected INAStreetDirectionProxy(java.lang.Object obj, java.lang.String iid)
           
  INAStreetDirectionProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected INAStreetDirectionProxy(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 getDriveTime()
          The driving time.
 IEnvelope getEnvelope()
          The bounding box of the item.
 double getLength()
          The driving Length (in directions length units).
 IPoint getManeuverPoint()
          The maneuver point of the item.
 INATraversalResultElement getResultElement(int index)
          The result object by index.
 int getResultObjectCount()
          The number of result objects that belong to this direction.
 java.lang.String getString(int index)
          The direction string by its index.
 int getStringCount()
          The count of direction strings in this item.
 int getStringType(int index)
          The direction string type by its index.
 double getTime()
          The time spent.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

INAStreetDirectionProxy

public INAStreetDirectionProxy(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

INAStreetDirectionProxy

public INAStreetDirectionProxy()
For internal use only


INAStreetDirectionProxy

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

INAStreetDirectionProxy

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

INAStreetDirectionProxy

protected INAStreetDirectionProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

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

getStringCount

public int getStringCount()
                   throws java.io.IOException,
                          AutomationException
The count of direction strings in this item.

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

getString

public java.lang.String getString(int index)
                           throws java.io.IOException,
                                  AutomationException
The direction string by its index.

Specified by:
getString in interface INAStreetDirection
Parameters:
index - The index (in)
Returns:
The directionString
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStringType

public int getStringType(int index)
                  throws java.io.IOException,
                         AutomationException
The direction string type by its index.

Specified by:
getStringType in interface INAStreetDirection
Parameters:
index - The index (in)
Returns:
A com.esri.arcgis.networkanalyst.esriDirectionsStringType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLength

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

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

getTime

public double getTime()
               throws java.io.IOException,
                      AutomationException
The time spent.

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

getDriveTime

public double getDriveTime()
                    throws java.io.IOException,
                           AutomationException
The driving time.

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

getEnvelope

public IEnvelope getEnvelope()
                      throws java.io.IOException,
                             AutomationException
The bounding box of the item.

Specified by:
getEnvelope in interface INAStreetDirection
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getManeuverPoint

public IPoint getManeuverPoint()
                        throws java.io.IOException,
                               AutomationException
The maneuver point of the item.

Specified by:
getManeuverPoint in interface INAStreetDirection
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResultObjectCount

public int getResultObjectCount()
                         throws java.io.IOException,
                                AutomationException
The number of result objects that belong to this direction.

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

getResultElement

public INATraversalResultElement getResultElement(int index)
                                           throws java.io.IOException,
                                                  AutomationException
The result object by index.

Specified by:
getResultElement in interface INAStreetDirection
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INATraversalResultElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.