|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.networkanalyst.INAStreetDirectionsProxy
public class INAStreetDirectionsProxy
Provides access to the driving directions.
The INAStreetDirections interface provides access to the NAStreetDirections object which holds street directions for a particular route.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INAStreetDirectionsProxy()
|
|
INAStreetDirectionsProxy(Object obj)
|
protected |
INAStreetDirectionsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
INAStreetDirection |
getDirection(int index)
The direction item by index. |
int |
getDirectionCount()
The number of direction items. |
int |
getRouteID()
The route ID for the directions. |
String |
getRouteName()
The route name for the directions. |
INAStreetDirection |
getSummary()
The summary information. |
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 INAStreetDirectionsProxy()
public INAStreetDirectionsProxy(Object obj) throws IOException
IOException
protected INAStreetDirectionsProxy(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.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public int getRouteID() throws IOException, AutomationException
RouteID returns the ID of the route.
getRouteID
in interface INAStreetDirections
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRouteName() throws IOException, AutomationException
RouteName returns the name of the route.
getRouteName
in interface INAStreetDirections
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDirectionCount() throws IOException, AutomationException
DirectionsCount returns the number of individual step-by-step directions associated with the route.
getDirectionCount
in interface INAStreetDirections
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAStreetDirection getDirection(int index) throws IOException, AutomationException
getDirection
in interface INAStreetDirections
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INAStreetDirection getSummary() throws IOException, AutomationException
Summary gives access to INAStreetDirection which provides a summary of the route (e.g. total distance).
getSummary
in interface INAStreetDirections
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 |