|
|||||||||
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,
String directionText,
Map<String,String> directionString)
Initializes the AGSDirection object from the traversal result. |
Method Summary | |
---|---|
void |
doZoomTo()
Zoom to the direction. |
double |
getCumulativeLength()
|
Map<String,String> |
getDirectionString()
|
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(Map<String,String> directionString)
|
void |
setDirectionText(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, String directionText, Map<String,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 directionMethod 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 Map<String,String> getDirectionString()
public 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(Map<String,String> directionString)
public void setDirectionText(String directionText)
public void doZoomTo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |