public class MapHandlerRegistration extends Object
Constructor and Description |
---|
MapHandlerRegistration() |
Modifier and Type | Method and Description |
---|---|
static <E> void |
addDomListener(JavaScriptObject jso,
DomEvent.Type<ClickHandler> type,
MapHandler<E> handler,
boolean capture)
experimental for the moment.
|
static <E extends MapEvent> |
addHandler(JavaScriptObject jso,
MapEventType eventType,
MapHandler<E> handler,
MapEventFormatter<E> formatter)
event handler
|
static <E extends MapEvent> |
addHandlerDrawing(JavaScriptObject jso,
MapEventType eventType,
MapHandler<E> handler,
MapEventFormatter<E> formatter)
event handler for the drawing overlay objects
|
static <E extends MapEvent> |
addHandlerMvc(JavaScriptObject jso,
MapEventType eventType,
MapHandler<E> handler,
MapEventFormatter<E> formatter)
event handler for the mvc object
|
protected static <E extends MapEvent> |
onCallback(MapHandler<E> handler,
com.google.gwt.ajaxloader.client.Properties properties,
MapEventFormatter<E> formatter)
process generic handler callback
|
static void |
trigger(MapWidget w,
MapEventType eventType)
Triggers the given event.
|
static void |
trigger(MapWidget w,
MapEventType eventType,
JavaScriptObject... objects)
Triggers the given event.
|
public static <E extends MapEvent> HandlerRegistration addHandler(JavaScriptObject jso, MapEventType eventType, MapHandler<E> handler, MapEventFormatter<E> formatter)
jso
- eventType
- handler
- formatter
- public static <E extends MapEvent> HandlerRegistration addHandlerMvc(JavaScriptObject jso, MapEventType eventType, MapHandler<E> handler, MapEventFormatter<E> formatter)
jso
- eventType
- handler
- formatter
- public static <E extends MapEvent> HandlerRegistration addHandlerDrawing(JavaScriptObject jso, MapEventType eventType, MapHandler<E> handler, MapEventFormatter<E> formatter)
jso
- eventType
- handler
- formatter
- protected static <E extends MapEvent> void onCallback(MapHandler<E> handler, com.google.gwt.ajaxloader.client.Properties properties, MapEventFormatter<E> formatter)
handler
- properties
- formatter
- public static void trigger(MapWidget w, MapEventType eventType, JavaScriptObject... objects)
w
- eventType
- objects
- public static void trigger(MapWidget w, MapEventType eventType)
w
- eventType
- public static <E> void addDomListener(JavaScriptObject jso, DomEvent.Type<ClickHandler> type, MapHandler<E> handler, boolean capture)
jso
- type
- handler
- capture
- Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.