|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesfile.SMDirections
public class SMDirections
COM Class 'SMDirections'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'
Description 'Deprecated as of 10.1. Driving directions information including 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 =
| Field Summary |
|---|
| 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, xxDummy |
| Constructor Summary | |
|---|---|
SMDirections(java.lang.Object obj)
Construct a SMDirections using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a SMDirections. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SMDirections(java.lang.Object obj)
throws java.io.IOException
obj to SMDirections. *
SMDirections o = (SMDirections)obj; // will not work
SMDirections o = new SMDirections(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems
SMDirections theSMDirections = (SMDirections) obj;| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public double getTotalLength()
throws java.io.IOException,
AutomationException
getTotalLength in interface ISMDirectionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.util.Date getTotalTime()
throws java.io.IOException,
AutomationException
getTotalTime in interface ISMDirectionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.util.Date getTotalDrivingTime()
throws java.io.IOException,
AutomationException
getTotalDrivingTime in interface ISMDirectionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getTotalsText()
throws java.io.IOException,
AutomationException
getTotalsText in interface ISMDirectionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMRouterEnvelope getBoundBox()
throws java.io.IOException,
AutomationException
getBoundBox in interface ISMDirectionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws java.io.IOException,
AutomationException
getCount in interface ISMDirectionsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMDirItem getItem(int position)
throws java.io.IOException,
AutomationException
getItem in interface ISMDirectionsposition - The position (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||