com.google.maps.gwt.client
Class DirectionsStep

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

public class DirectionsStep
extends JavaScriptObject

A single DirectionsStep in a DirectionsResult . Some fields may be undefined. Note that though this object is "JSON-like," it is not strictly JSON, as it directly includes LatLng objects. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected DirectionsStep()
          Protected constructor avoids default public constructor.
 
Method Summary
 Distance getDistance()
          The distance covered by this step.
 Duration getDuration()
          The typical time required to perform this step in seconds and in text form.
 LatLng getEndLocation()
          The ending location of this step.
 java.lang.String getInstructions()
          Instructions for this step.
  getPath()
          A sequence of LatLng s describing the course of this step.
 LatLng getStartLocation()
          The starting location of this step.
 TravelMode getTravelMode()
          The mode of travel used in this step.
 void setDistance(Distance distance)
          The distance covered by this step.
 void setDuration(Duration duration)
          The typical time required to perform this step in seconds and in text form.
 void setEndLocation(LatLng end_location)
          The ending location of this step.
 void setInstructions(java.lang.String instructions)
          Instructions for this step.
 void setPath( path)
          A sequence of LatLng s describing the course of this step.
 void setStartLocation(LatLng start_location)
          The starting location of this step.
 void setTravelMode(TravelMode travel_mode)
          The mode of travel used in this step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectionsStep

protected DirectionsStep()
Protected constructor avoids default public constructor.

Method Detail

getDistance

public final Distance getDistance()
The distance covered by this step. This property may be undefined as the distance may be unknown.


getDuration

public final Duration getDuration()
The typical time required to perform this step in seconds and in text form. This property may be undefined as the duration may be unknown.


getEndLocation

public final LatLng getEndLocation()
The ending location of this step.


getInstructions

public final java.lang.String getInstructions()
Instructions for this step.


getPath

public final  getPath()
A sequence of LatLng s describing the course of this step.


getStartLocation

public final LatLng getStartLocation()
The starting location of this step.


getTravelMode

public final TravelMode getTravelMode()
The mode of travel used in this step.


setDistance

public final void setDistance(Distance distance)
The distance covered by this step. This property may be undefined as the distance may be unknown.


setDuration

public final void setDuration(Duration duration)
The typical time required to perform this step in seconds and in text form. This property may be undefined as the duration may be unknown.


setEndLocation

public final void setEndLocation(LatLng end_location)
The ending location of this step.


setInstructions

public final void setInstructions(java.lang.String instructions)
Instructions for this step.


setPath

public final void setPath( path)
A sequence of LatLng s describing the course of this step.


setStartLocation

public final void setStartLocation(LatLng start_location)
The starting location of this step.


setTravelMode

public final void setTravelMode(TravelMode travel_mode)
The mode of travel used in this step.