summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/ComponentContainer.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/ComponentContainer.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/ComponentContainer.java')
-rw-r--r--server/src/com/vaadin/ui/ComponentContainer.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/ComponentContainer.java b/server/src/com/vaadin/ui/ComponentContainer.java
index c2a75f9313..cee6d7300b 100644
--- a/server/src/com/vaadin/ui/ComponentContainer.java
+++ b/server/src/com/vaadin/ui/ComponentContainer.java
@@ -94,6 +94,13 @@ public interface ComponentContainer extends HasComponents {
* @param listener
* the listener to add.
*/
+ public void addComponentAttachListener(ComponentAttachListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addComponentAttachListener(ComponentAttachListener)}
+ **/
+ @Deprecated
public void addListener(ComponentAttachListener listener);
/**
@@ -102,16 +109,37 @@ public interface ComponentContainer extends HasComponents {
* @param listener
* the listener to removed.
*/
+ public void removeComponentAttachListener(ComponentAttachListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removeComponentAttachListener(ComponentAttachListener)}
+ **/
+ @Deprecated
public void removeListener(ComponentAttachListener listener);
/**
* Listens the component detach events.
*/
+ public void addComponentDetachListener(ComponentDetachListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addComponentDetachListener(ComponentDetachListener)}
+ **/
+ @Deprecated
public void addListener(ComponentDetachListener listener);
/**
* Stops the listening component detach events.
*/
+ public void removeComponentDetachListener(ComponentDetachListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removeComponentDetachListener(ComponentDetachListener)}
+ **/
+ @Deprecated
public void removeListener(ComponentDetachListener listener);
/**