|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcweb.ArcWebRouteInfo
public class ArcWebRouteInfo
The information describing a route.
| Constructor Summary | |
|---|---|
ArcWebRouteInfo(Object obj)
Construct a ArcWebRouteInfo using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
getDescriptiveDistance()
A description of the length of the route. |
String |
getDescriptiveTime()
A description of the estimated time the route takes to drive. |
IEnumArcWebDirections |
getDirections()
An enumeration of the ArcWebDirections. |
double |
getDistance()
The total length of the route. |
int |
getDistanceUnits()
The units of the route distance. |
IEnvelope |
getExtent()
The extent of the route. |
IPicture |
getImage()
The picture of the route. |
IPolyline |
getPath()
The geometry of the route. |
double |
getTime()
The estimated number of minutes the route takes to drive. |
IEnumArcWebTurnByTurnMaps |
getTurnByTurnMaps()
An enumeration of the ArcWebTurnByTurnMaps. |
int |
hashCode()
the hashcode for this object |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public ArcWebRouteInfo(Object obj)
throws IOException
obj to ArcWebRouteInfo. *
ArcWebRouteInfo o = (ArcWebRouteInfo)obj; // will not work
ArcWebRouteInfo o = new ArcWebRouteInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
ArcWebRouteInfo theArcWebRouteInfo = (ArcWebRouteInfo) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IPolyline getPath()
throws IOException,
AutomationException
getPath in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumArcWebDirections getDirections()
throws IOException,
AutomationException
getDirections in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumArcWebTurnByTurnMaps getTurnByTurnMaps()
throws IOException,
AutomationException
getTurnByTurnMaps in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPicture getImage()
throws IOException,
AutomationException
getImage in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDistanceUnits()
throws IOException,
AutomationException
getDistanceUnits in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDistance()
throws IOException,
AutomationException
getDistance in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTime()
throws IOException,
AutomationException
getTime in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws IOException,
AutomationException
getExtent in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescriptiveDistance()
throws IOException,
AutomationException
getDescriptiveDistance in interface IArcWebRouteInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescriptiveTime()
throws IOException,
AutomationException
getDescriptiveTime in interface IArcWebRouteInfoIOException - 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 | ||||||||