|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.maps.client.impl.HandlerCollection<E>
E - One of the XXXListener interfaces/abstract classespublic class HandlerCollection<E>
A class that keeps track of all JSO's associated with a particular listener instance. Creates an easy way for the Public API to interact with the GEvent.removeListener() and GEvent.clearListeners() methods when the time comes to remove events.
| Constructor Summary | |
|---|---|
HandlerCollection(com.google.gwt.core.client.JavaScriptObject jsoPeer,
MapEvent e)
Create an empty collection. |
|
| Method Summary | |
|---|---|
void |
addHandler(E listener,
EventImpl.BooleanCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.CopyrightCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.DoubleCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.IntCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.IntIntCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.LatLngBoundsIntCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.LatLngCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.MapTypeCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.OverlayCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.OverlayLatLngCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.PointElementOverlayCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.StreetviewLocationCallback callback)
Add a listener and the event handles associated with it. |
void |
addHandler(E listener,
EventImpl.VoidCallback callback)
Add a listener and the event handles associated with it. |
MapEvent |
getMapEvent()
The type of event this collection represents. |
void |
removeHandler(E handler)
Remove all JavaScript GEvent instances for a single listener. |
void |
trigger()
Manually trigger an event that takes an overlay and point argument. |
void |
trigger(boolean arg)
Manually trigger an event that takes a single boolean argument. |
void |
trigger(Copyright arg)
Manually trigger an event that takes a single boolean argument. |
void |
trigger(double arg)
Manually trigger an event that takes a single double argument. |
void |
trigger(int arg)
Manually trigger an event that takes a single integer argument. |
void |
trigger(int arg1,
int arg2)
Manually trigger an event that takes two integer arguments. |
void |
trigger(LatLng point)
Manually trigger an event that takes LatLng arguments. |
void |
trigger(LatLngBounds bounds,
int value)
Manually trigger an event that takes LatLngBounds and
int arguments. |
void |
trigger(MapType type)
Manually trigger an event that takes a MapType argument. |
void |
trigger(Overlay overlay)
Manually trigger an event that takes an Overlay argument. |
void |
trigger(Overlay overlay,
LatLng point)
Manually trigger an event that takes Overlay and LatLng
arguments. |
void |
trigger(Overlay overlay,
LatLng point1,
LatLng point2)
Manually trigger an event that takes Overlay and 2 LatLng
arguments. |
void |
trigger(Point point,
com.google.gwt.user.client.Element elem,
Overlay overlay)
Manually trigger an event that takes Point, Element, and
Overlay arguments. |
void |
trigger(StreetviewLocation arg)
Manually trigger an event that takes a StreetviewLocation argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HandlerCollection(com.google.gwt.core.client.JavaScriptObject jsoPeer,
MapEvent e)
| Method Detail |
|---|
public void addHandler(E listener,
EventImpl.BooleanCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.CopyrightCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.DoubleCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.IntCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.IntIntCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.LatLngBoundsIntCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.LatLngCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.MapTypeCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.OverlayCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.OverlayLatLngCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.PointElementOverlayCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.StreetviewLocationCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.
public void addHandler(E listener,
EventImpl.VoidCallback callback)
listener - The listener to add to the collectioncallback - The callback to call when the event fires.public MapEvent getMapEvent()
public void removeHandler(E handler)
public void trigger()
public void trigger(boolean arg)
arg - the boolean argument.public void trigger(Copyright arg)
arg - the boolean argument.public void trigger(double arg)
arg - the double argument.public void trigger(int arg)
arg - the integer argument.
public void trigger(int arg1,
int arg2)
arg1 - first integer argument.arg2 - second integer argument.public void trigger(LatLng point)
LatLng arguments.
point - A coordinate to send as a parameter of the event.
public void trigger(LatLngBounds bounds,
int value)
LatLngBounds and
int arguments.
bounds - rectangular boundsvalue - integer value to passpublic void trigger(MapType type)
MapType argument.
type - the map type to send as a parameter of the event.public void trigger(Overlay overlay)
Overlay argument.
overlay - the overlay argument for the event.
public void trigger(Overlay overlay,
LatLng point)
Overlay and LatLng
arguments.
overlay - An overlay to send as a parameter of the event.point - A coordinate to send as a parameter of the event.
public void trigger(Overlay overlay,
LatLng point1,
LatLng point2)
Overlay and 2 LatLng
arguments.
overlay - An overlay to send as a parameter of the event.point1 - A coordinate to send as a parameter of the event.point2 - A coordinate to send as a parameter of the event.
public void trigger(Point point,
com.google.gwt.user.client.Element elem,
Overlay overlay)
Point, Element, and
Overlay arguments.
elem - A DOM elementoverlay - An overlay to send as a parameter of the event.point - A coordinate to send as a parameter of the event.public void trigger(StreetviewLocation arg)
StreetviewLocation argument.
arg - the boolean argument.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||