com.google.maps.gwt.client
Class Distance

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.Distance

public class Distance
extends JavaScriptObject

A representation of distance as a numeric value and a display string. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected Distance()
          Protected constructor avoids default public constructor.
 
Method Summary
 java.lang.String getText()
          A string representation of the distance value, using the UnitSystem specified in the request.
 double getValue()
          The distance in meters.
 void setText(java.lang.String text)
          A string representation of the distance value, using the UnitSystem specified in the request.
 void setValue(double value)
          The distance in meters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Distance

protected Distance()
Protected constructor avoids default public constructor.

Method Detail

getText

public final java.lang.String getText()
A string representation of the distance value, using the UnitSystem specified in the request.


getValue

public final double getValue()
The distance in meters.


setText

public final void setText(java.lang.String text)
A string representation of the distance value, using the UnitSystem specified in the request.


setValue

public final void setValue(double value)
The distance in meters.