|
||||||||||
| 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.weatherlib.WeatherFeature
public class WeatherFeature
This object describes a single Weather feature..
See WeatherFeature
API Doc
| Constructor Summary | |
|---|---|
protected |
WeatherFeature()
use newInstance(); |
| Method Summary | |
|---|---|
WeatherConditions |
getCurrent()
Gets the current weather conditions at this location. |
JsArray<WeatherForecast> |
getForecast()
Gets the forecast of weather conditions over the next four days. |
String |
getLocation()
Gets the location name of this feature, e.g. |
TemperatureUnit |
getTemperatureUnits()
Gets the units to use for temperature. |
WindSpeedUnit |
getWindSpeedUnits()
Gets the units to use for wind speed. |
static WeatherFeature |
newInstance()
creates - This object describes a single Weather feature. |
void |
setCurrent(WeatherConditions current)
The current weather conditions at this location. |
void |
setForecast(JsArray<WeatherForecast> forecast)
Sets the forecast of weather conditions over the next four days. |
void |
setLocation(String location)
The location name of this feature, e.g. |
void |
setTemperatureUnits(TemperatureUnit temperatureUnit)
Sets the units to use for temperature. |
void |
setWindSpeedUnits(WindSpeedUnit windSpeedUnit)
Sets the units to use for wind speed. |
| 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 WeatherFeature()
| Method Detail |
|---|
public static final WeatherFeature newInstance()
public final void setLocation(String location)
location - public final String getLocation()
public final void setForecast(JsArray<WeatherForecast> forecast)
forecast - public final JsArray<WeatherForecast> getForecast()
public final void setCurrent(WeatherConditions current)
current - public final WeatherConditions getCurrent()
public final void setTemperatureUnits(TemperatureUnit temperatureUnit)
temperatureUnit - public final TemperatureUnit getTemperatureUnits()
public final void setWindSpeedUnits(WindSpeedUnit windSpeedUnit)
windSpeedUnit - public final WindSpeedUnit getWindSpeedUnits()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||