com.google.gwt.maps.client.event
Class PolygonClickHandler.PolygonClickEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.google.gwt.maps.client.event.PolygonClickHandler.PolygonClickEvent
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
PolygonClickHandler

public static class PolygonClickHandler.PolygonClickEvent
extends java.util.EventObject

Encapsulates the arguments for the MapEvent.CLICK event on a Polygon.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PolygonClickHandler.PolygonClickEvent(Polygon source, LatLng latlng)
           
 
Method Summary
 LatLng getLatLng()
          Returns the coordinates associated with this event.
 Polygon getSender()
          Returns the instance of the polygon that generated this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolygonClickHandler.PolygonClickEvent

public PolygonClickHandler.PolygonClickEvent(Polygon source,
                                             LatLng latlng)
Method Detail

getLatLng

public LatLng getLatLng()
Returns the coordinates associated with this event.

Returns:
the coordinates associated with this event.

getSender

public Polygon getSender()
Returns the instance of the polygon that generated this event.

Returns:
the instance of the polygon that generated this event.