|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcweb.ArcWebRouteFinderOptions
public class ArcWebRouteFinderOptions
A set of parameters used in finding a route.
| Constructor Summary | |
|---|---|
ArcWebRouteFinderOptions()
Constructs a ArcWebRouteFinderOptions using ArcGIS Engine. |
|
ArcWebRouteFinderOptions(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ArcWebRouteFinderOptions theArcWebRouteFinderOptions = (ArcWebRouteFinderOptions) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
String |
getDataSource()
The name of the data source to use for routing. |
String |
getLanguage()
The language used in the route description (default is English). |
IArcWebRouteDisplayOptions |
getRouteDisplayOptions()
The parameters for how the route is displayed on a map. |
IArcWebMapImageOptions |
getRouteMapOptions()
The parameters for a map image of the route. |
IArcWebRouteOptions |
getRouteOptions()
The parameters for the route. |
String |
getTrafficDataSource()
The name of the traffic data source used to create traffic barriers. |
int |
getTrafficSeverity()
The traffic incident severity ratings to avoid 0-4 (default is 0 which avoids all incidents). |
int |
getUnits()
The units of the route (default is esriArcWebDistanceUnitsMiles). |
int |
hashCode()
the hashcode for this object |
boolean |
isAvoidTraffic()
Indicates if current traffic conditions are considered when generating a route (default is VARIANT_FALSE). |
boolean |
isReturnDirections()
Indicates if a description of the route is returned (default is VARIANT_FALSE). |
boolean |
isReturnGeometry()
Indicates if the geometry of the route is returned (default is VARIANT_FALSE). |
boolean |
isReturnMap()
Indicates if map image of the route is returned (default is VARIANT_FALSE). |
boolean |
isReturnTurnByTurnMaps()
Indicates if turn-by-turn maps are returned (default is VARIANT_FALSE). |
void |
setAvoidTraffic(boolean avoidTraffic)
Indicates if current traffic conditions are considered when generating a route (default is VARIANT_FALSE). |
void |
setDataSource(String dataSource)
The name of the data source to use for routing. |
void |
setLanguage(String language)
The language used in the route description (default is English). |
void |
setReturnDirections(boolean returnDirections)
Indicates if a description of the route is returned (default is VARIANT_FALSE). |
void |
setReturnGeometry(boolean returnGeometry)
Indicates if the geometry of the route is returned (default is VARIANT_FALSE). |
void |
setReturnMap(boolean pVal)
Indicates if map image of the route is returned (default is VARIANT_FALSE). |
void |
setReturnTurnByTurnMaps(boolean pVal)
Indicates if turn-by-turn maps are returned (default is VARIANT_FALSE). |
void |
setRouteDisplayOptionsByRef(IArcWebRouteDisplayOptions routeDisplayOptions)
The parameters for how the route is displayed on a map. |
void |
setRouteMapOptionsByRef(IArcWebMapImageOptions mapOptions)
The parameters for a map image of the route. |
void |
setRouteOptionsByRef(IArcWebRouteOptions routeOptions)
The parameters for the route. |
void |
setTrafficDataSource(String pVal)
The name of the traffic data source used to create traffic barriers. |
void |
setTrafficSeverity(int pVal)
The traffic incident severity ratings to avoid 0-4 (default is 0 which avoids all incidents). |
void |
setUnits(int pVal)
The units of the route (default is esriArcWebDistanceUnitsMiles). |
| 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 ArcWebRouteFinderOptions()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public ArcWebRouteFinderOptions(Object obj)
throws IOException
ArcWebRouteFinderOptions theArcWebRouteFinderOptions = (ArcWebRouteFinderOptions) obj;
obj to ArcWebRouteFinderOptions.
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 boolean isAvoidTraffic()
throws IOException,
AutomationException
isAvoidTraffic in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAvoidTraffic(boolean avoidTraffic)
throws IOException,
AutomationException
setAvoidTraffic in interface IArcWebRouteFinderOptionsavoidTraffic - The avoidTraffic (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnDirections()
throws IOException,
AutomationException
isReturnDirections in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnDirections(boolean returnDirections)
throws IOException,
AutomationException
setReturnDirections in interface IArcWebRouteFinderOptionsreturnDirections - The returnDirections (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnGeometry()
throws IOException,
AutomationException
isReturnGeometry in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnGeometry(boolean returnGeometry)
throws IOException,
AutomationException
setReturnGeometry in interface IArcWebRouteFinderOptionsreturnGeometry - The returnGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDataSource()
throws IOException,
AutomationException
getDataSource in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDataSource(String dataSource)
throws IOException,
AutomationException
setDataSource in interface IArcWebRouteFinderOptionsdataSource - The dataSource (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLanguage()
throws IOException,
AutomationException
getLanguage in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLanguage(String language)
throws IOException,
AutomationException
setLanguage in interface IArcWebRouteFinderOptionslanguage - The language (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnMap()
throws IOException,
AutomationException
isReturnMap in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnMap(boolean pVal)
throws IOException,
AutomationException
setReturnMap in interface IArcWebRouteFinderOptionspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isReturnTurnByTurnMaps()
throws IOException,
AutomationException
isReturnTurnByTurnMaps in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReturnTurnByTurnMaps(boolean pVal)
throws IOException,
AutomationException
setReturnTurnByTurnMaps in interface IArcWebRouteFinderOptionspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTrafficDataSource()
throws IOException,
AutomationException
getTrafficDataSource in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTrafficDataSource(String pVal)
throws IOException,
AutomationException
setTrafficDataSource in interface IArcWebRouteFinderOptionspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTrafficSeverity()
throws IOException,
AutomationException
getTrafficSeverity in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTrafficSeverity(int pVal)
throws IOException,
AutomationException
setTrafficSeverity in interface IArcWebRouteFinderOptionspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUnits()
throws IOException,
AutomationException
getUnits in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUnits(int pVal)
throws IOException,
AutomationException
setUnits in interface IArcWebRouteFinderOptionspVal - A com.esri.arcgis.arcweb.esriArcWebDistanceUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArcWebRouteOptions getRouteOptions()
throws IOException,
AutomationException
getRouteOptions in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteOptionsByRef(IArcWebRouteOptions routeOptions)
throws IOException,
AutomationException
setRouteOptionsByRef in interface IArcWebRouteFinderOptionsrouteOptions - A reference to a com.esri.arcgis.arcweb.IArcWebRouteOptions (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArcWebRouteDisplayOptions getRouteDisplayOptions()
throws IOException,
AutomationException
getRouteDisplayOptions in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteDisplayOptionsByRef(IArcWebRouteDisplayOptions routeDisplayOptions)
throws IOException,
AutomationException
setRouteDisplayOptionsByRef in interface IArcWebRouteFinderOptionsrouteDisplayOptions - A reference to a com.esri.arcgis.arcweb.IArcWebRouteDisplayOptions (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArcWebMapImageOptions getRouteMapOptions()
throws IOException,
AutomationException
getRouteMapOptions in interface IArcWebRouteFinderOptionsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteMapOptionsByRef(IArcWebMapImageOptions mapOptions)
throws IOException,
AutomationException
setRouteMapOptionsByRef in interface IArcWebRouteFinderOptionsmapOptions - A reference to a com.esri.arcgis.arcweb.IArcWebMapImageOptions (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 | ||||||||