|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcweb.ArcWebRouteOptions
public class ArcWebRouteOptions
A set of parameters describing a route.
| Constructor Summary | |
|---|---|
ArcWebRouteOptions()
Constructs a ArcWebRouteOptions using ArcGIS Engine. |
|
ArcWebRouteOptions(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ArcWebRouteOptions theArcWebRouteOptions = (ArcWebRouteOptions) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IEnvelope |
getFilterExtent()
The extent of the returned map. |
int |
getHighwayPreference()
A preference number 1-100 for using highways (default is 80). |
double |
getPrecision()
The minimum distance between points on a route (default is 0.0). |
IPointCollection |
getRouteBarriers()
The locations of the route barriers. |
int |
getRouteType()
The route searching criteria for using either the quickest or shortest route (default is esriArcWebRouteTypeQuickest). |
int |
hashCode()
the hashcode for this object |
boolean |
isOptimizeStops()
Indicates if intermediate waypoints are reordered to optimize for distance (default is VARIANT_FALSE). |
boolean |
isReturnExtents()
Indicates if an extent is returned for each segment in the route (default is VARIANT_FALSE). |
void |
setFilterExtentByRef(IEnvelope filterExtent)
The extent of the returned map. |
void |
setHighwayPreference(int pVal)
A preference number 1-100 for using highways (default is 80). |
void |
setOptimizeStops(boolean pVal)
Indicates if intermediate waypoints are reordered to optimize for distance (default is VARIANT_FALSE). |
void |
setPrecision(double pVal)
The minimum distance between points on a route (default is 0.0). |
void |
setReturnExtents(boolean pVal)
Indicates if an extent is returned for each segment in the route (default is VARIANT_FALSE). |
void |
setRouteBarriersByRef(IPointCollection pointCollection)
The locations of the route barriers. |
void |
setRouteType(int pVal)
The route searching criteria for using either the quickest or shortest route (default is esriArcWebRouteTypeQuickest). |
| 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 ArcWebRouteOptions()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ArcWebRouteOptions(Object obj)
throws IOException
ArcWebRouteOptions theArcWebRouteOptions = (ArcWebRouteOptions) obj;
obj to ArcWebRouteOptions.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IEnvelope getFilterExtent()
throws IOException,
AutomationException
getFilterExtent in interface IArcWebRouteOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFilterExtentByRef(IEnvelope filterExtent)
throws IOException,
AutomationException
setFilterExtentByRef in interface IArcWebRouteOptionsfilterExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHighwayPreference()
throws IOException,
AutomationException
getHighwayPreference in interface IArcWebRouteOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHighwayPreference(int pVal)
throws IOException,
AutomationException
setHighwayPreference in interface IArcWebRouteOptionspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isOptimizeStops()
throws IOException,
AutomationException
isOptimizeStops in interface IArcWebRouteOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOptimizeStops(boolean pVal)
throws IOException,
AutomationException
setOptimizeStops in interface IArcWebRouteOptionspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getPrecision()
throws IOException,
AutomationException
getPrecision in interface IArcWebRouteOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPrecision(double pVal)
throws IOException,
AutomationException
setPrecision in interface IArcWebRouteOptionspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnExtents()
throws IOException,
AutomationException
isReturnExtents in interface IArcWebRouteOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnExtents(boolean pVal)
throws IOException,
AutomationException
setReturnExtents in interface IArcWebRouteOptionspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRouteType()
throws IOException,
AutomationException
getRouteType in interface IArcWebRouteOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteType(int pVal)
throws IOException,
AutomationException
setRouteType in interface IArcWebRouteOptionspVal - A com.esri.arcgis.arcweb.esriArcWebRouteType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPointCollection getRouteBarriers()
throws IOException,
AutomationException
getRouteBarriers in interface IArcWebRouteOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteBarriersByRef(IPointCollection pointCollection)
throws IOException,
AutomationException
setRouteBarriersByRef in interface IArcWebRouteOptionspointCollection - A reference to a com.esri.arcgis.geometry.IPointCollection (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 | ||||||||