|
|||||||||
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.INACompactStreetDirectionsProxy
public class INACompactStreetDirectionsProxy
Provides access to compact driving directions.
The INACompactStreetDirections interface provides access to the NACompactStreetDirections 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 | |
---|---|
|
INACompactStreetDirectionsProxy()
|
|
INACompactStreetDirectionsProxy(Object obj)
|
protected |
INACompactStreetDirectionsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
INACompactStreetDirection |
getDirection(int index)
The direction by index. |
int |
getDirectionCount()
The directions count. |
int |
getRouteID()
The route ID for the directions. |
String |
getRouteName()
The route name for the directions. |
INACompactStreetDirectionSummary |
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 INACompactStreetDirectionsProxy()
public INACompactStreetDirectionsProxy(Object obj) throws IOException
IOException
protected INACompactStreetDirectionsProxy(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 ObjectID of the corresponding route feature in the Routes or CFRoutes network analysis class.
getRouteID
in interface INACompactStreetDirections
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. This is retrieved from the name field of the corresponding route feature in the Routes or CFRoutes network analysis class.
getRouteName
in interface INACompactStreetDirections
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 INACompactStreetDirections
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INACompactStreetDirection getDirection(int index) throws IOException, AutomationException
getDirection
in interface INACompactStreetDirections
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INACompactStreetDirectionSummary getSummary() throws IOException, AutomationException
Summary gives access to INACompactStreetDirectionSummary which provides a summary of the route (e.g. total distance).
getSummary
in interface INACompactStreetDirections
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 |