com.google.gwt.maps.client.events.weatherlibmouse
Class WeatherMouseMapEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<H>
          extended by com.google.gwt.maps.client.events.MapEvent<WeatherMouseMapHandler,WeatherMouseMapEvent>
              extended by com.google.gwt.maps.client.events.weatherlibmouse.WeatherMouseMapEvent

public class WeatherMouseMapEvent
extends MapEvent<WeatherMouseMapHandler,WeatherMouseMapEvent>

The properties of a mouse event on a WeatherLayer

See WeatherMouseEvent API Doc


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Field Summary
static GwtEvent.Type<WeatherMouseMapHandler> TYPE
           
 
Fields inherited from class com.google.gwt.maps.client.events.MapEvent
properties
 
Constructor Summary
WeatherMouseMapEvent(com.google.gwt.ajaxloader.client.Properties properties)
           
 
Method Summary
protected  void dispatch(WeatherMouseMapHandler handler)
          implement in the event that inherits this
 GwtEvent.Type<WeatherMouseMapHandler> getAssociatedType()
          implement in the event that inherits this
 WeatherFeature getFeatureDetails()
          The offset to apply to an info window anchored on the clicked feature.
 String getInfoWindowHtml()
          Pre-rendered HTML content to display within a feature's InfoWindow when clicked.
 LatLng getLatLng()
          The position at which to anchor an info window on the clicked feature.
 Size getPixelOffset()
          The offset to apply to an info window anchored on the clicked feature.
 
Methods inherited from class com.google.gwt.maps.client.events.MapEvent
getAsJson, getProperties
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
 
Methods inherited from class com.google.web.bindery.event.shared.Event
setSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static GwtEvent.Type<WeatherMouseMapHandler> TYPE
Constructor Detail

WeatherMouseMapEvent

public WeatherMouseMapEvent(com.google.gwt.ajaxloader.client.Properties properties)
Method Detail

getAssociatedType

public GwtEvent.Type<WeatherMouseMapHandler> getAssociatedType()
Description copied from class: MapEvent
implement in the event that inherits this

Specified by:
getAssociatedType in class MapEvent<WeatherMouseMapHandler,WeatherMouseMapEvent>

dispatch

protected void dispatch(WeatherMouseMapHandler handler)
Description copied from class: MapEvent
implement in the event that inherits this

Specified by:
dispatch in class MapEvent<WeatherMouseMapHandler,WeatherMouseMapEvent>

getLatLng

public final LatLng getLatLng()
The position at which to anchor an info window on the clicked feature.

Returns:
clicked position

getPixelOffset

public final Size getPixelOffset()
The offset to apply to an info window anchored on the clicked feature.

Returns:
pixel offset of info window anchor

getInfoWindowHtml

public String getInfoWindowHtml()
Pre-rendered HTML content to display within a feature's InfoWindow when clicked.


getFeatureDetails

public final WeatherFeature getFeatureDetails()
The offset to apply to an info window anchored on the clicked feature.

Returns:
weather information for the clicked location


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