com.google.maps.gwt.client
Class TravelMode

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

public class TravelMode
extends JavaScriptObject

The valid travel modes that can be specified in a DirectionsRequest as well as the travel modes returned in a DirectionsStep . THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Field Summary
static TravelMode BICYCLING
          Specifies a bicycling directions request.
static TravelMode DRIVING
          Specifies a driving directions request.
static TravelMode WALKING
          Specifies a walking directions request.
 
Constructor Summary
protected TravelMode()
          Protected constructor avoids default public constructor.
 
Method Summary
static TravelMode fromValue(java.lang.String value)
          Access the enum instance using the underlying value of the type.
 java.lang.String getValue()
          Access the underlying value of the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BICYCLING

public static final TravelMode BICYCLING
Specifies a bicycling directions request.


DRIVING

public static final TravelMode DRIVING
Specifies a driving directions request.


WALKING

public static final TravelMode WALKING
Specifies a walking directions request.

Constructor Detail

TravelMode

protected TravelMode()
Protected constructor avoids default public constructor.

Method Detail

fromValue

public static final TravelMode fromValue(java.lang.String value)
Access the enum instance using the underlying value of the type.


getValue

public final java.lang.String getValue()
Access the underlying value of the type.