com.google.gwt.maps.client.event
Class MapAddMapTypeHandler.MapAddMapTypeEvent

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

public static class MapAddMapTypeHandler.MapAddMapTypeEvent
extends java.util.EventObject

Encapsulates the arguments for the MapEvent.ADDMAPTYPE event on a MapWidget.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MapAddMapTypeHandler.MapAddMapTypeEvent(MapWidget source, MapType type)
           
 
Method Summary
 MapWidget getSender()
          Returns the instance of the map that generated this event.
 MapType getType()
          Returns the map type associated with 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

MapAddMapTypeHandler.MapAddMapTypeEvent

public MapAddMapTypeHandler.MapAddMapTypeEvent(MapWidget source,
                                               MapType type)
Method Detail

getSender

public MapWidget getSender()
Returns the instance of the map that generated this event.

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

getType

public MapType getType()
Returns the map type associated with this event.

Returns:
the map type associated with this event.