|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcweb.ArcWebDirections
public class ArcWebDirections
The segments descriptions of a route.
| Constructor Summary | |
|---|---|
ArcWebDirections(Object obj)
Construct a ArcWebDirections 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 |
getDescriptiveDirections()
A description of the route segment. |
String |
getDescriptiveDistance()
A descriptive distance of the route segment. |
double |
getDistance()
The distance of the route segment. |
IEnvelope |
getExtent()
The extent of the route segment. |
double |
getTime()
The estimated number of minutes the route segment takes to drive. |
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 ArcWebDirections(Object obj)
throws IOException
obj to ArcWebDirections. *
ArcWebDirections o = (ArcWebDirections)obj; // will not work
ArcWebDirections o = new ArcWebDirections(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
ArcWebDirections theArcWebDirections = (ArcWebDirections) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public String getDescriptiveDirections()
throws IOException,
AutomationException
getDescriptiveDirections in interface IArcWebDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDescriptiveDistance()
throws IOException,
AutomationException
getDescriptiveDistance in interface IArcWebDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws IOException,
AutomationException
getExtent in interface IArcWebDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDistance()
throws IOException,
AutomationException
getDistance in interface IArcWebDirectionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getTime()
throws IOException,
AutomationException
getTime in interface IArcWebDirectionsIOException - 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 | ||||||||