|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.services.DistanceMatrixResponseElement
public class DistanceMatrixResponseElement
A single element of a response to a DistanceMatrixService request, which contains the duration and distance from one origin to one destination.
See DistanceMatrixResponseElement API Doc
| Constructor Summary | |
|---|---|
protected |
DistanceMatrixResponseElement()
use newInstance(); |
| Method Summary | |
|---|---|
Distance |
getDistance()
The distance for this origin-destination pairing. |
Duration |
getDuration()
The duration for this origin-destination pairing. |
DistanceMatrixElementStatus |
getStatus()
The status of this particular origin-destination pairing. |
static DistanceMatrixResponseElement |
newInstance()
A single element of a response to a DistanceMatrixService request, which contains the duration and distance from one origin to one destination. |
void |
setDistance(Distance distance)
The distance for this origin-destination pairing. |
void |
setDuration(Duration duration)
The duration for this origin-destination pairing. |
void |
setStatus(DistanceMatrixElementStatus status)
The status of this particular origin-destination pairing. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected DistanceMatrixResponseElement()
| Method Detail |
|---|
public static final DistanceMatrixResponseElement newInstance()
public final void setDistance(Distance distance)
distance - public final Distance getDistance()
public final void setDuration(Duration duration)
duration - public final Duration getDuration()
public final void setStatus(DistanceMatrixElementStatus status)
status - public final DistanceMatrixElementStatus getStatus()
|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||