|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.datasourcesfile.ISMDirectionsProxy
public class ISMDirectionsProxy
Provides access to the driving directions information (path geometry and description of each path segment).
Provides driving directions information including path geometry and a detailed description for each path segment.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
ISMDirectionsProxy()
|
|
ISMDirectionsProxy(Object obj)
|
protected |
ISMDirectionsProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
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. |
Date |
getTotalDrivingTime()
The total driving time for the route. |
double |
getTotalLength()
The total length of the route (in miles by default). |
String |
getTotalsText()
A string containing the total time and length of the route. |
Date |
getTotalTime()
The total time of the entire trip. |
void |
removeListener(String iidStr,
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 |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public ISMDirectionsProxy()
public ISMDirectionsProxy(Object obj)
throws IOException
IOException
protected ISMDirectionsProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public double getTotalLength()
throws IOException,
AutomationException
Returns total length (in miles) of the route found.
getTotalLength in interface ISMDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Date getTotalTime()
throws IOException,
AutomationException
Returns total time of the trip.
getTotalTime in interface ISMDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Date getTotalDrivingTime()
throws IOException,
AutomationException
Returns the total driving time for the route.
getTotalDrivingTime in interface ISMDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTotalsText()
throws IOException,
AutomationException
Returns text string consisting of the total time and length of the route.
getTotalsText in interface ISMDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMRouterEnvelope getBoundBox()
throws IOException,
AutomationException
Returns the geographic extent of the entire route path.
getBoundBox in interface ISMDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws IOException,
AutomationException
Returns the number of items in the driving direction object.
getCount in interface ISMDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISMDirItem getItem(int position)
throws IOException,
AutomationException
getItem in interface ISMDirectionsposition - The position (in)
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 | ||||||||