|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.ags.data.AGSDirection
public class AGSDirection
This object stores the direction results.
| Constructor Summary | |
|---|---|
AGSDirection(double cumulativeLength,
double length,
double drivingTime,
double time,
WebExtent extent,
WebPoint point,
java.lang.String directionText,
java.util.Map<java.lang.String,java.lang.String> directionString)
Initializes the AGSDirection object from the traversal result. |
|
| Method Summary | |
|---|---|
void |
doZoomTo()
Zoom to the direction. |
double |
getCumulativeLength()
|
java.util.Map<java.lang.String,java.lang.String> |
getDirectionString()
|
java.lang.String |
getDirectionText()
|
double |
getDrivingLength()
|
double |
getDrivingTime()
|
WebExtent |
getExtent()
Returns the extent of the direction. |
WebPoint |
getPoint()
Returns the maneuver point of the direction. |
double |
getTime()
|
void |
setCumulativeLength(double cumulativeLength)
|
void |
setDirectionString(java.util.Map<java.lang.String,java.lang.String> directionString)
|
void |
setDirectionText(java.lang.String directionText)
|
void |
setDrivingLength(double drivingLength)
|
void |
setDrivingTime(double drivingTime)
|
void |
setExtent(WebExtent extent)
Sets the extent of the direction. |
void |
setPoint(WebPoint point)
Sets the maneuver point of the direction. |
void |
setTime(double time)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AGSDirection(double cumulativeLength,
double length,
double drivingTime,
double time,
WebExtent extent,
WebPoint point,
java.lang.String directionText,
java.util.Map<java.lang.String,java.lang.String> directionString)
AGSDirection object from the traversal result.
cumulativeLength - the cumulative length of directionlength - the length of directiondrivingTime - the driving time of directiontime - the time of directionextent - the bounding box of the directionpoint - the maneuver point of the directiondirectionText - the direction textdirectionString - the string representation of direction| Method Detail |
|---|
public double getCumulativeLength()
public double getDrivingLength()
public double getDrivingTime()
public double getTime()
public WebExtent getExtent()
WebExtent- the extent of the directionpublic WebPoint getPoint()
WebPoint- the point of the directionpublic java.util.Map<java.lang.String,java.lang.String> getDirectionString()
public java.lang.String getDirectionText()
public void setCumulativeLength(double cumulativeLength)
public void setDrivingTime(double drivingTime)
public void setTime(double time)
public void setDrivingLength(double drivingLength)
public void setExtent(WebExtent extent)
extent - the extent of the directionpublic void setPoint(WebPoint point)
point - the maneuver point of the directionpublic void setDirectionString(java.util.Map<java.lang.String,java.lang.String> directionString)
public void setDirectionText(java.lang.String directionText)
public void doZoomTo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||