summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbsoluteLayout.java
diff options
context:
space:
mode:
authorPetri Heinonen <petri@vaadin.com>2012-08-23 13:00:17 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-30 15:32:24 +0300
commitf32d6ab1db5c4732fa3fd13ff8714db6197cc3d4 (patch)
treef2a6d30671a3bbadf2beafc9f90d2c8fd54bf871 /server/src/com/vaadin/ui/AbsoluteLayout.java
parent181904db6aa50a10383f098f022da7d4ed801738 (diff)
downloadvaadin-framework-f32d6ab1db5c4732fa3fd13ff8714db6197cc3d4.tar.gz
vaadin-framework-f32d6ab1db5c4732fa3fd13ff8714db6197cc3d4.zip
refak listeners com.vaadin.ui
Diffstat (limited to 'server/src/com/vaadin/ui/AbsoluteLayout.java')
-rw-r--r--server/src/com/vaadin/ui/AbsoluteLayout.java21
1 files changed, 19 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/AbsoluteLayout.java b/server/src/com/vaadin/ui/AbsoluteLayout.java
index 412a3390e4..794de49671 100644
--- a/server/src/com/vaadin/ui/AbsoluteLayout.java
+++ b/server/src/com/vaadin/ui/AbsoluteLayout.java
@@ -629,16 +629,33 @@ public class AbsoluteLayout extends AbstractLayout implements
}
@Override
- public void addListener(LayoutClickListener listener) {
+ public void addLayoutClickListener(LayoutClickListener listener) {
addListener(EventId.LAYOUT_CLICK_EVENT_IDENTIFIER,
LayoutClickEvent.class, listener,
LayoutClickListener.clickMethod);
}
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addLayoutClickListener(LayoutClickListener)}
+ **/
+ @Deprecated
+ public void addListener(LayoutClickListener listener) {
+ addLayoutClickListener(listener);
+ }
+
@Override
- public void removeListener(LayoutClickListener listener) {
+ public void removeLayoutClickListener(LayoutClickListener listener) {
removeListener(EventId.LAYOUT_CLICK_EVENT_IDENTIFIER,
LayoutClickEvent.class, listener);
}
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removeLayoutClickListener(LayoutClickListener)}
+ **/
+ @Deprecated
+ public void removeListener(LayoutClickListener listener) {
+ removeLayoutClickListener(listener);
+ }
}