From: Matti Tahvonen Date: Fri, 29 Oct 2010 07:54:54 +0000 (+0000) Subject: javadoc X-Git-Tag: 6.7.0.beta1~944 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f91eda97896e3d062e390de94058e581ec9e69e;p=vaadin-framework.git javadoc svn changeset:15768/svn branch:6.5 --- diff --git a/src/com/vaadin/event/EventRouter.java b/src/com/vaadin/event/EventRouter.java index 69d98db276..dc4f67bf65 100644 --- a/src/com/vaadin/event/EventRouter.java +++ b/src/com/vaadin/event/EventRouter.java @@ -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) {