com.esri.arcgis.datasourcesfile
Class ISMDirectionsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.ISMDirectionsProxy
All Implemented Interfaces:
ISMDirections, java.io.Externalizable, java.io.Serializable

public class ISMDirectionsProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMDirections, java.io.Serializable

Internal use class Proxy for COM Interface 'ISMDirections'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'

Description: 'Deprecated as of 10.1. Provides access to the driving directions information (path geometry and description of each path segment).' 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.datasourcesfile.ISMDirections
DISPID_3_GET_NAME, DISPID_4_GET_NAME, DISPID_5_GET_NAME, DISPID_6_GET_NAME, DISPID_7_GET_NAME, DISPID_8_GET_NAME, DISPID_9_GET_NAME, IID, IIDf8b6601d_5850_11d7_b321_008048db11de
 
Constructor Summary
  ISMDirectionsProxy()
          For internal use only
  ISMDirectionsProxy(java.lang.Object obj)
           
protected ISMDirectionsProxy(java.lang.Object obj, java.lang.String iid)
           
  ISMDirectionsProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISMDirectionsProxy(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)
           
 ISMRouterEnvelope getBoundBox()
          The geographic extent of the entire route.
 int getCount()
          The total number of items in the driving directions object.
 ISMDirItem getItem(int position)
          A reference to a direction item by its position.
 java.util.Date getTotalDrivingTime()
          The total driving time for the route.
 double getTotalLength()
          The total length of the route (in miles by default).
 java.lang.String getTotalsText()
          A string containing the total time and length of the route.
 java.util.Date getTotalTime()
          The total time of the entire trip.
 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

ISMDirectionsProxy

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

ISMDirectionsProxy

public ISMDirectionsProxy()
For internal use only


ISMDirectionsProxy

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

ISMDirectionsProxy

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

ISMDirectionsProxy

protected ISMDirectionsProxy(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

getTotalLength

public double getTotalLength()
                      throws java.io.IOException,
                             AutomationException
The total length of the route (in miles by default).

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

getTotalTime

public java.util.Date getTotalTime()
                            throws java.io.IOException,
                                   AutomationException
The total time of the entire trip.

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

getTotalDrivingTime

public java.util.Date getTotalDrivingTime()
                                   throws java.io.IOException,
                                          AutomationException
The total driving time for the route.

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

getTotalsText

public java.lang.String getTotalsText()
                               throws java.io.IOException,
                                      AutomationException
A string containing the total time and length of the route.

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

getBoundBox

public ISMRouterEnvelope getBoundBox()
                              throws java.io.IOException,
                                     AutomationException
The geographic extent of the entire route.

Specified by:
getBoundBox in interface ISMDirections
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMRouterEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The total number of items in the driving directions object.

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

getItem

public ISMDirItem getItem(int position)
                   throws java.io.IOException,
                          AutomationException
A reference to a direction item by its position.

Specified by:
getItem in interface ISMDirections
Parameters:
position - The position (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMDirItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.