|
Follow us on GitHub |
|||||||||
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.WeatherLayerOptions
public class WeatherLayerOptions
This object defines the properties that can be set on a WeatherLayer object.
See WeatherLayerOptions API Doc
Constructor Summary | |
---|---|
protected |
WeatherLayerOptions()
use newInstance(); |
Method Summary | |
---|---|
boolean |
getClickable()
gets If true, the layer receives mouse events. |
LabelColor |
getLabelColor()
Sets the color of labels on the weather layer. |
MapWidget |
getMap()
Returns the map on which this layer is displayed. |
boolean |
getSuppressInfoWindows()
gets Suppress the rendering of info windows when layer features are clicked. |
TemperatureUnit |
getTemperatureUnits()
Gets the units to use for temperature. |
WindSpeedUnit |
getWindSpeedUnits()
Gets the units to use for wind speed. |
static WeatherLayerOptions |
newInstance()
creates - This object defines the properties that can be set on a WeatherLayer object. |
void |
setClickable(boolean clickable)
sets If true, the layer receives mouse events. |
void |
setLabelColor(LabelColor labelColor)
Sets the color of labels on the weather layer. |
void |
setMap(MapWidget mapWidget)
Layer will be rendered to this map |
void |
setSuppressInfoWindows(boolean suppressInfoWindows)
Sets Suppress the rendering of info windows when layer features are clicked. |
void |
setTemperatureUnits(TemperatureUnit temperatureUnits)
Sets the units to use for temperature. |
void |
setWindSpeedUnits(WindSpeedUnit windSpeedUnits)
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 WeatherLayerOptions()
Method Detail |
---|
public static final WeatherLayerOptions newInstance()
public final void setClickable(boolean clickable)
clickable
- public final boolean getClickable()
public final void setLabelColor(LabelColor labelColor)
labelColor
- public final LabelColor getLabelColor()
public final void setTemperatureUnits(TemperatureUnit temperatureUnits)
temperatureUnits
- public final TemperatureUnit getTemperatureUnits()
public final void setWindSpeedUnits(WindSpeedUnit windSpeedUnits)
windSpeedUnits
- public final WindSpeedUnit getWindSpeedUnits()
public final void setMap(MapWidget mapWidget)
mapWidget
- public final MapWidget getMap()
public final void setSuppressInfoWindows(boolean suppressInfoWindows)
suppressInfoWindows
- public final boolean getSuppressInfoWindows()
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |