org.gwtopenmaps.openlayers.client.event
Class EventListenerCollection
java.lang.Object
org.gwtopenmaps.openlayers.client.event.EventListenerCollection
public class EventListenerCollection
- extends Object
The EventListenerCollection serves to maintain references to EventListeners, and
keeps hold of the properties necessary to unregister EventListeners.
When an EventListener is added to the EventListener collection it is passed all
the information to add it as a listener for events a particular widget fires.
- Author:
- Edwin Commandeur - Atlis EJS
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventListenerCollection
public EventListenerCollection()
addListener
public void addListener(OpenLayersObjectWrapper w,
EventListener listener,
String type,
EventHandler handler)
removeListener
public void removeListener(OpenLayersObjectWrapper w,
EventListener listener)
removeListeners
public void removeListeners(OpenLayersObjectWrapper wrapper)
- Removes all listeners registered on an object.
- Parameters:
wrapper - - wrapper object for OpenLayers object that fires events
getListeners
public Set<EventListener> getListeners()
- A view of all the listeners registered on an object.
Items in the set can be cast to
EventListener objects.
- Returns:
- - a Set of
EventListener objects.
Copyright © 2010 sourceforge. All Rights Reserved.