diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-10-29 07:54:54 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-10-29 07:54:54 +0000 |
commit | 9f91eda97896e3d062e390de94058e581ec9e69e (patch) | |
tree | 90fa31b9d3275df7ea64bc873a47143ac117b21c /src/com/vaadin/event | |
parent | 49b67ef018c03370220857b6d55cbc9f928f7581 (diff) | |
download | vaadin-framework-9f91eda97896e3d062e390de94058e581ec9e69e.tar.gz vaadin-framework-9f91eda97896e3d062e390de94058e581ec9e69e.zip |
javadoc
svn changeset:15768/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/event')
-rw-r--r-- | src/com/vaadin/event/EventRouter.java | 8 |
1 files changed, 8 insertions, 0 deletions
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) { |