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

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

public class WeatherForecast
extends JavaScriptObject

Describes a single day's weather forecast.

See WeatherForecast API Doc


Constructor Summary
protected WeatherForecast()
          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 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.
 
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

WeatherForecast

protected WeatherForecast()
use newInstance();

Method Detail

newInstance

public static final WeatherForecast newInstance()
creates - Describes a single day's weather forecast.


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".



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