diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-12-17 06:34:40 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-12-17 06:34:40 +0000 |
commit | 649b41d5dde2455ea99b2eef8ef68a7d8d1735b0 (patch) | |
tree | 40908c595d63dacd676864dfc706e48a78f1e040 /src/com/vaadin/ui/Panel.java | |
parent | 44dbd7e9c18c04427acc9e0012b1bfc8d41d61f4 (diff) | |
download | vaadin-framework-649b41d5dde2455ea99b2eef8ef68a7d8d1735b0.tar.gz vaadin-framework-649b41d5dde2455ea99b2eef8ef68a7d8d1735b0.zip |
Fix for #3259 - Removing all action handlers
svn changeset:10363/svn branch:6.2
Diffstat (limited to 'src/com/vaadin/ui/Panel.java')
-rw-r--r-- | src/com/vaadin/ui/Panel.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/Panel.java b/src/com/vaadin/ui/Panel.java index 1fdbd21237..df08c4e62b 100644 --- a/src/com/vaadin/ui/Panel.java +++ b/src/com/vaadin/ui/Panel.java @@ -554,6 +554,15 @@ public class Panel extends AbstractComponentContainer implements Scrollable, } /** + * Removes all action handlers + */ + public void removeAllActionHandlers() { + actionHandlers = null; + actionMapper = null; + requestRepaint(); + } + + /** * Add a click listener to the Panel. The listener is called whenever the * user clicks inside the Panel. Also when the click targets a component * inside the Panel, provided the targeted component does not prevent the |