com.esri.arcgis.datasourcesfile
Class ISMDirItemProxy

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

public class ISMDirItemProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMDirItem, java.io.Serializable

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

Description: 'Deprecated as of 10.1. Provides access to the description and geography of one item of driving directions.' 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.ISMDirItem
DISPID_1_GET_NAME, DISPID_10_GET_NAME, DISPID_11_GET_NAME, DISPID_2_GET_NAME, 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, IIDf8b6601a_5850_11d7_b321_008048db11de
 
Constructor Summary
  ISMDirItemProxy()
          For internal use only
  ISMDirItemProxy(java.lang.Object obj)
           
protected ISMDirItemProxy(java.lang.Object obj, java.lang.String iid)
           
  ISMDirItemProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISMDirItemProxy(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)
           
 int getAzimuth()
          The azimuth of the direction item.
 ISMRouterEnvelope getBoundBox()
          The geographic extent of the direction item.
 java.lang.String getDriveText()
          Formatted text descrbing the length and time of the direction item.
 int getItemType()
          The type of direction item.
 double getLength()
          The length of the route part, in miles by default, corresponding to the direction item.
 int getRoutePart()
          The route part number associated with a direction item.
 ISMPointsCollection getShape()
          A collection of points representing the shape of the direction item.
 java.lang.String getStreetName()
          The street name of the direction item.
 java.lang.String getText()
          A string describing the direction item.
 double getTime()
          The driving time of the route part corresponding to the direction item.
 double getTurnAngle()
          The turn angle of the direction item.
 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

ISMDirItemProxy

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

ISMDirItemProxy

public ISMDirItemProxy()
For internal use only


ISMDirItemProxy

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

ISMDirItemProxy

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

ISMDirItemProxy

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

getText

public java.lang.String getText()
                         throws java.io.IOException,
                                AutomationException
A string describing the direction item.

Specified by:
getText in interface ISMDirItem
Returns:
The pVal
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 length of the route part, in miles by default, corresponding to the direction item.

Specified by:
getLength in interface ISMDirItem
Returns:
The pVal
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 driving time of the route part corresponding to the direction item.

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

getDriveText

public java.lang.String getDriveText()
                              throws java.io.IOException,
                                     AutomationException
Formatted text descrbing the length and time of the direction item.

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

getItemType

public int getItemType()
                throws java.io.IOException,
                       AutomationException
The type of direction item. Returns an esriSMDirItemType constant.

Specified by:
getItemType in interface ISMDirItem
Returns:
A com.esri.arcgis.datasourcesfile.esriSMDirItemType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRoutePart

public int getRoutePart()
                 throws java.io.IOException,
                        AutomationException
The route part number associated with a direction item.

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

getShape

public ISMPointsCollection getShape()
                             throws java.io.IOException,
                                    AutomationException
A collection of points representing the shape of the direction item.

Specified by:
getShape in interface ISMDirItem
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMPointsCollection
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 direction item.

Specified by:
getBoundBox in interface ISMDirItem
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.

getStreetName

public java.lang.String getStreetName()
                               throws java.io.IOException,
                                      AutomationException
The street name of the direction item.

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

getTurnAngle

public double getTurnAngle()
                    throws java.io.IOException,
                           AutomationException
The turn angle of the direction item.

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

getAzimuth

public int getAzimuth()
               throws java.io.IOException,
                      AutomationException
The azimuth of the direction item. Returns an esriSMAzimuthType constant.

Specified by:
getAzimuth in interface ISMDirItem
Returns:
A com.esri.arcgis.datasourcesfile.esriSMAzimuthType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.