summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/event
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-10-29 07:54:54 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-10-29 07:54:54 +0000
commit9f91eda97896e3d062e390de94058e581ec9e69e (patch)
tree90fa31b9d3275df7ea64bc873a47143ac117b21c /src/com/vaadin/event
parent49b67ef018c03370220857b6d55cbc9f928f7581 (diff)
downloadvaadin-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.java8
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) {