|
|||||||||
| 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.networkanalyst.INAStreetDirectionProxy
public class INAStreetDirectionProxy
Provides access to a street direction item.
INAStreetDirection has been superseded by INAStreetDirection3.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
INAStreetDirectionProxy()
|
|
INAStreetDirectionProxy(Object obj)
|
protected |
INAStreetDirectionProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
double |
getDriveTime()
The driving time. |
IEnvelope |
getEnvelope()
The bounding box of the item. |
double |
getLength()
The driving Length (in directions length units). |
IPoint |
getManeuverPoint()
The maneuver point of the item. |
INATraversalResultElement |
getResultElement(int index)
The result object by index. |
int |
getResultObjectCount()
The number of result objects that belong to this direction. |
String |
getString(int index)
The direction string by its index. |
int |
getStringCount()
The count of direction strings in this item. |
int |
getStringType(int index)
The direction string type by its index. |
double |
getTime()
The time spent. |
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 INAStreetDirectionProxy()
public INAStreetDirectionProxy(Object obj)
throws IOException
IOException
protected INAStreetDirectionProxy(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 int getStringCount()
throws IOException,
AutomationException
StringCount returns the number of direction strings.
A direction item can be made up of multiple strings of the types delineated by esriDirectionsStringType. You can access an item's strings by using StringCount to loop over String.
getStringCount in interface INAStreetDirectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getString(int index)
throws IOException,
AutomationException
getString in interface INAStreetDirectionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStringType(int index)
throws IOException,
AutomationException
getStringType in interface INAStreetDirectionindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLength()
throws IOException,
AutomationException
Length returns the length of the particular direction element.
getLength in interface INAStreetDirectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTime()
throws IOException,
AutomationException
Time returns the travel time of the particular direction element.
getTime in interface INAStreetDirectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDriveTime()
throws IOException,
AutomationException
DriveTime returns the driving time of the particular direction element.
getDriveTime in interface INAStreetDirectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getEnvelope()
throws IOException,
AutomationException
Envelope returns the geographic envelope of the direction.
getEnvelope in interface INAStreetDirectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getManeuverPoint()
throws IOException,
AutomationException
ManeuverPoint returns the point of the turn of the direction.
getManeuverPoint in interface INAStreetDirectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getResultObjectCount()
throws IOException,
AutomationException
ResultObjectCount returns the number of traversal result elements associated with the direction element.
getResultObjectCount in interface INAStreetDirectionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INATraversalResultElement getResultElement(int index)
throws IOException,
AutomationException
getResultElement in interface INAStreetDirectionindex - The index (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 | ||||||||