public class WeatherConditions extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
WeatherConditions()
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 |
getHumidity()
Gets the current humidity, expressed as a percentage.
|
double |
getLow()
Gets the lowest temperature reached during the day.
|
String |
getShortDay()
Gets the day of the week in short form, e.g.
|
double |
getTemperature()
Gets the current temperature, in the specified temperature units.
|
String |
getWindDirection()
Gets the current wind direction.
|
double |
getWindSpeed()
Gets the current wind speed, in the specified wind speed units.
|
static WeatherConditions |
newInstance()
creates - Describes a single weather feature
|
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 |
setHumidity(double humidity)
Set the current humidity, expressed as a percentage.
|
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.
|
void |
setTemperature(double temperature)
Set the current temperature, in the specified temperature units.
|
void |
setWindDirection(String windDirection)
Set the current wind direction.
|
void |
setWindSpeed(double windSpeed)
Set the current wind speed, in the specified wind speed units.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static final WeatherConditions 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()
public final void setHumidity(double humidity)
humidity - public final double getHumidity()
public final void setTemperature(double temperature)
temperature - public final double getTemperature()
public final void setWindDirection(String windDirection)
windDirection - public final String getWindDirection()
public final void setWindSpeed(double windSpeed)
windSpeed - public final double getWindSpeed()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.