com.google.gwt.maps.client.weatherlib
Class WeatherConditions

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.weatherlib.WeatherConditions

public class WeatherConditions
extends JavaScriptObject

Describes a single weather feature.

See WeatherConditions API Doc


Constructor Summary
protected WeatherConditions()
          use newInstance();
 
Method Summary
 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.
 
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

WeatherConditions

protected WeatherConditions()
use newInstance();

Method Detail

newInstance

public static final WeatherConditions newInstance()
creates - Describes a single weather feature


setDay

public final void setDay(String day)
Set the day of the week in long form, e.g. "Monday".

Parameters:
day -

getDay

public final String getDay()
Gets the day of the week in long form, e.g. "Monday".


setDescription

public final void setDescription(String description)
Set a description of the conditions, e.g. "Partly Cloudy".

Parameters:
description -

getDescription

public final String getDescription()
Gets the description of the conditions, e.g. "Partly Cloudy".


setHigh

public final void setHigh(double high)
Set the highest temperature reached during the day.

Parameters:
high -

getHigh

public final double getHigh()
Gets the highest temperature reached during the day.


setLow

public final void setLow(double low)
Set the lowest temperature reached during the day.

Parameters:
low -

getLow

public final double getLow()
Gets the lowest temperature reached during the day.


setShortDay

public final void setShortDay(String shortDay)
Set the day of the week in short form, e.g. "M".

Parameters:
shortDay -

getShortDay

public final String getShortDay()
Gets the day of the week in short form, e.g. "M".


setHumidity

public final void setHumidity(double humidity)
Set the current humidity, expressed as a percentage.

Parameters:
humidity -

getHumidity

public final double getHumidity()
Gets the current humidity, expressed as a percentage.


setTemperature

public final void setTemperature(double temperature)
Set the current temperature, in the specified temperature units.

Parameters:
temperature -

getTemperature

public final double getTemperature()
Gets the current temperature, in the specified temperature units.


setWindDirection

public final void setWindDirection(String windDirection)
Set the current wind direction.

Parameters:
windDirection -

getWindDirection

public final String getWindDirection()
Gets the current wind direction.


setWindSpeed

public final void setWindSpeed(double windSpeed)
Set the current wind speed, in the specified wind speed units.

Parameters:
windSpeed -

getWindSpeed

public final double getWindSpeed()
Gets the current wind speed, in the specified wind speed units.



Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.