]> source.dussan.org Git - vaadin-framework.git/commitdiff
javadoc
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 29 Oct 2010 07:54:54 +0000 (07:54 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 29 Oct 2010 07:54:54 +0000 (07:54 +0000)
svn changeset:15768/svn branch:6.5

src/com/vaadin/event/EventRouter.java

index 69d98db27679d3c00903e2b597e86a6eb7b14071..dc4f67bf65f274fd65593927ac48f6999b8d5e2b 100644 (file)
@@ -153,6 +153,14 @@ public class EventRouter implements MethodEventSource {
         }
     }
 
+    /**
+     * Checks if the given Event type is listened by a listener registered to
+     * this router.
+     * 
+     * @param eventType
+     *            the event type to be checked
+     * @return true if a listener is registered for the given event type
+     */
     public boolean hasListeners(Class<?> eventType) {
         if (listenerList != null) {
             for (ListenerMethod lm : listenerList) {