|
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.Distance
public class Distance
A representation of distance as a numeric value and a display string.
See Distance API Doc
Constructor Summary | |
---|---|
protected |
Distance()
use newInstance(); |
Method Summary | |
---|---|
String |
getText()
A string representation of the distance value, using the UnitSystem specified in the request. |
int |
getValue()
The distance in meters. |
static Distance |
newInstance()
A representation of distance as a numeric value and a display string. |
void |
setText(String text)
A string representation of the distance value, using the UnitSystem specified in the request. |
void |
setValue(int value)
The distance in meters. |
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 Distance()
Method Detail |
---|
public static final Distance newInstance()
public final void setText(String text)
text
- public final String getText()
public final void setValue(int value)
value
- public final int getValue()
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |