|
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.Duration
public class Duration
A representation of duration as a numeric value and a display string.
See Duration API Doc
| Constructor Summary | |
|---|---|
protected |
Duration()
use newInstance(); |
| Method Summary | |
|---|---|
String |
getText()
A string representation of the duration value. |
int |
getValue()
The duration in seconds. |
static Duration |
newInstance()
A representation of duration as a numeric value and a display string. |
void |
setText(String text)
A string representation of the duration value. |
void |
setValue(int value)
The duration in seconds. |
| 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 Duration()
| Method Detail |
|---|
public static final Duration 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 | |||||||||