com.google.gwt.maps.client.event
Class PolygonEndLineHandler.PolygonEndLineEvent

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

public static class PolygonEndLineHandler.PolygonEndLineEvent
extends java.util.EventObject

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PolygonEndLineHandler.PolygonEndLineEvent(Polygon source, LatLng latlng)
           
 
Method Summary
 LatLng getLatLng()
          Returns the endpoint of the line.
 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

PolygonEndLineHandler.PolygonEndLineEvent

public PolygonEndLineHandler.PolygonEndLineEvent(Polygon source,
                                                 LatLng latlng)
Method Detail

getLatLng

public LatLng getLatLng()
Returns the endpoint of the line.

Returns:
the endpoint of the line.

getSender

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

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