com.google.maps.gwt.client
Class Duration

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

public class Duration
extends JavaScriptObject

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


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

Constructor Detail

Duration

protected Duration()
Protected constructor avoids default public constructor.

Method Detail

getText

public final java.lang.String getText()
A string representation of the duration value.


getValue

public final double getValue()
The duration in seconds.


setText

public final void setText(java.lang.String text)
A string representation of the duration value.


setValue

public final void setValue(double value)
The duration in seconds.