com.google.gwt.maps.client.impl
Class EventImpl

java.lang.Object
  extended by com.google.gwt.maps.client.impl.EventImpl
All Implemented Interfaces:
JSWrapper<EventImpl>

@Global(value="$wnd.GEvent")
public abstract class EventImpl
extends java.lang.Object
implements JSWrapper<EventImpl>

Wrapper for the GEvent class from the Maps API using JSIO. In order to give type appropriate Java interfaces, this class contains many aliases for the addListener() JavaScript method and associated callback interfaces.


Nested Class Summary
static class EventImpl.BooleanCallback
          Provides a way to specify a JavaScript function() with a single boolean argument and handles uncaught exceptions.
static class EventImpl.BoundsIntCallback
          Provides a callback interface with a Bounds followed by an int argument.
static interface EventImpl.Callback
          TODO: JSIO should wrap any java method that returns to JavaScript with code to deal with uncaught exceptions.
static class EventImpl.CopyrightCallback
          Provides a callback interface with two int arguments.
static class EventImpl.DoubleCallback
          Provides a callback interface with one double argument.
static class EventImpl.IntCallback
          Provides a callback interface with one integer argument.
static class EventImpl.IntIntCallback
          Provides a callback interface with two integer arguments.
static class EventImpl.LatLngBoundsIntCallback
          Provides a callback interface with a LatLng and integer argument.
static class EventImpl.LatLngCallback
          Provides a callback interface with a LatLng argument.
static class EventImpl.MapTypeCallback
          Provides a callback interface with a MapType argument.
static class EventImpl.OverlayCallback
          Provides a callback interface with an Overlay argument.
static class EventImpl.OverlayLatLngCallback
          Provides a callback interface with an Overlay and two LatLng arguments.
static class EventImpl.PointElementOverlayCallback
          Provides a callback interface with Point, Element, and Overlay arguments.
static class EventImpl.StreetviewDataCallback
          Provides a callback interface with StreetviewData argument.
static class EventImpl.StreetviewLocationCallback
          Provides a callback interface with StreetviewLocation argument.
static class EventImpl.VoidCallback
          Provides a way to specify a JavaScript function() with no arguments and handles uncaught exceptions.
 
Field Summary
static EventImpl impl
           
 
Constructor Summary
EventImpl()
           
 
Method Summary
 com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.BooleanCallback handler)
           
 com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.IntIntCallback handler)
           
 com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.LatLngBoundsIntCallback handler)
           
 com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.LatLngCallback handler)
           
 com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.MapTypeCallback handler)
           
 com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.OverlayCallback handler)
           
 com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.OverlayLatLngCallback handler)
           
 com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.PointElementOverlayCallback handler)
           
 com.google.gwt.core.client.JavaScriptObject addListenerVoid(com.google.gwt.core.client.JavaScriptObject source, MapEvent event, EventImpl.VoidCallback handler)
           
abstract  void removeListener(com.google.gwt.core.client.JavaScriptObject mapEventHandle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.maps.jsio.client.JSWrapper
getExtractor, getJavaScriptObject, setJavaScriptObject, setJSONData
 

Field Detail

impl

public static final EventImpl impl
Constructor Detail

EventImpl

public EventImpl()
Method Detail

addListener

public com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source,
                                                               MapEvent event,
                                                               EventImpl.BooleanCallback handler)

addListener

public com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source,
                                                               MapEvent event,
                                                               EventImpl.IntIntCallback handler)

addListener

public com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source,
                                                               MapEvent event,
                                                               EventImpl.LatLngBoundsIntCallback handler)

addListener

public com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source,
                                                               MapEvent event,
                                                               EventImpl.LatLngCallback handler)

addListener

public com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source,
                                                               MapEvent event,
                                                               EventImpl.MapTypeCallback handler)

addListener

public com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source,
                                                               MapEvent event,
                                                               EventImpl.OverlayCallback handler)

addListener

public com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source,
                                                               MapEvent event,
                                                               EventImpl.OverlayLatLngCallback handler)

addListener

public com.google.gwt.core.client.JavaScriptObject addListener(com.google.gwt.core.client.JavaScriptObject source,
                                                               MapEvent event,
                                                               EventImpl.PointElementOverlayCallback handler)

addListenerVoid

public com.google.gwt.core.client.JavaScriptObject addListenerVoid(com.google.gwt.core.client.JavaScriptObject source,
                                                                   MapEvent event,
                                                                   EventImpl.VoidCallback handler)

removeListener

public abstract void removeListener(com.google.gwt.core.client.JavaScriptObject mapEventHandle)