public class WeatherForecast extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
WeatherForecast()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
String |
getDay()
Gets the day of the week in long form, e.g.
|
String |
getDescription()
Gets the description of the conditions, e.g.
|
double |
getHigh()
Gets the highest temperature reached during the day.
|
double |
getLow()
Gets the lowest temperature reached during the day.
|
String |
getShortDay()
Gets the day of the week in short form, e.g.
|
static WeatherForecast |
newInstance()
creates - Describes a single day's weather forecast.
|
void |
setDay(String day)
Set the day of the week in long form, e.g.
|
void |
setDescription(String description)
Set a description of the conditions, e.g.
|
void |
setHigh(double high)
Set the highest temperature reached during the day.
|
void |
setLow(double low)
Set the lowest temperature reached during the day.
|
void |
setShortDay(String shortDay)
Set the day of the week in short form, e.g.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final WeatherForecast newInstance()
public final void setDay(String day)
day
- public final String getDay()
public final void setDescription(String description)
description
- public final String getDescription()
public final void setHigh(double high)
high
- public final double getHigh()
public final void setLow(double low)
low
- public final double getLow()
public final void setShortDay(String shortDay)
shortDay
- public final String getShortDay()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.