|
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.DistanceMatrixResponse
public class DistanceMatrixResponse
The response to a DistanceMatrixService request, consisting of the formatted origin and destination addresses, and a sequence of DistanceMatrixResponseRows, one for each corresponding origin address.
See DistanceMatrixResponse API Doc
Constructor Summary | |
---|---|
protected |
DistanceMatrixResponse()
this is generated from callback use newInstance(); |
Method Summary | |
---|---|
JsArrayString |
getDestinationAddresses()
The formatted destination addresses. |
JsArrayString |
getOriginAddresses()
The formatted origin addresses. |
JsArray<DistanceMatrixResponseRow> |
getRows()
The rows of the matrix, corresponding to the origin addresses. |
static DistanceMatrixResponse |
newInstance()
The response to a DistanceMatrixService request, consisting of the formatted origin and destination addresses, and a sequence of DistanceMatrixResponseRows, one for each corresponding origin address. |
void |
setDestinationAddresses(JsArrayString destinationAddresses)
The formatted destination addresses. |
void |
setOriginAddresses(JsArrayString originAddresses)
The formatted origin addresses. |
void |
setRows(JsArray<DistanceMatrixResponseRow> rows)
The rows of the matrix, corresponding to the origin addresses. |
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 DistanceMatrixResponse()
Method Detail |
---|
public static final DistanceMatrixResponse newInstance()
public final void setDestinationAddresses(JsArrayString destinationAddresses)
destinationAddresses
- public final JsArrayString getDestinationAddresses()
public final void setOriginAddresses(JsArrayString originAddresses)
originAddresses
- public final JsArrayString getOriginAddresses()
public final void setRows(JsArray<DistanceMatrixResponseRow> rows)
rows
- public final JsArray<DistanceMatrixResponseRow> getRows()
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |