aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorPetri Heinonen <petri@vaadin.com>2012-08-22 16:02:23 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-30 15:32:20 +0300
commit8ec556b856df7f392734fd5d8551fd5be38c71fd (patch)
treee7163a941d05690c8a964b7d0f4a1a57d39adab1 /server/src
parent45a8dae9395b6c2882a202b453609ef59a120189 (diff)
downloadvaadin-framework-8ec556b856df7f392734fd5d8551fd5be38c71fd.tar.gz
vaadin-framework-8ec556b856df7f392734fd5d8551fd5be38c71fd.zip
listener refak com.vaadin.data
Diffstat (limited to 'server/src')
-rw-r--r--server/src/com/vaadin/data/Container.java32
-rw-r--r--server/src/com/vaadin/data/Item.java16
-rw-r--r--server/src/com/vaadin/data/Property.java31
3 files changed, 79 insertions, 0 deletions
diff --git a/server/src/com/vaadin/data/Container.java b/server/src/com/vaadin/data/Container.java
index de53b88018..155dde87ef 100644
--- a/server/src/com/vaadin/data/Container.java
+++ b/server/src/com/vaadin/data/Container.java
@@ -1016,6 +1016,14 @@ public interface Container extends Serializable {
* @param listener
* listener to be added
*/
+ public void addItemSetChangeListener(
+ Container.ItemSetChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addItemSetChangeListener(ItemSetChangeListener)}
+ **/
+ @Deprecated
public void addListener(Container.ItemSetChangeListener listener);
/**
@@ -1024,6 +1032,14 @@ public interface Container extends Serializable {
* @param listener
* listener to be removed
*/
+ public void removeItemSetChangeListener(
+ Container.ItemSetChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removeItemSetChangeListener(ItemSetChangeListener)}
+ **/
+ @Deprecated
public void removeListener(Container.ItemSetChangeListener listener);
}
@@ -1102,6 +1118,14 @@ public interface Container extends Serializable {
* @param listener
* The new Listener to be registered
*/
+ public void addPropertySetChangeListener(
+ Container.PropertySetChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addPropertySetChangeListener(PropertySetChangeListener)}
+ **/
+ @Deprecated
public void addListener(Container.PropertySetChangeListener listener);
/**
@@ -1110,6 +1134,14 @@ public interface Container extends Serializable {
* @param listener
* Listener to be removed
*/
+ public void removePropertySetChangeListener(
+ Container.PropertySetChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removePropertySetChangeListener(PropertySetChangeListener)}
+ **/
+ @Deprecated
public void removeListener(Container.PropertySetChangeListener listener);
}
}
diff --git a/server/src/com/vaadin/data/Item.java b/server/src/com/vaadin/data/Item.java
index 684027e608..8bdf963835 100644
--- a/server/src/com/vaadin/data/Item.java
+++ b/server/src/com/vaadin/data/Item.java
@@ -177,6 +177,14 @@ public interface Item extends Serializable {
* @param listener
* The new Listener to be registered.
*/
+ public void addPropertySetChangeListener(
+ Item.PropertySetChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addPropertySetChangeListener(PropertySetChangeListener)}
+ **/
+ @Deprecated
public void addListener(Item.PropertySetChangeListener listener);
/**
@@ -185,6 +193,14 @@ public interface Item extends Serializable {
* @param listener
* Listener to be removed.
*/
+ public void removePropertySetChangeListener(
+ Item.PropertySetChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removePropertySetChangeListener(PropertySetChangeListener)}
+ **/
+ @Deprecated
public void removeListener(Item.PropertySetChangeListener listener);
}
}
diff --git a/server/src/com/vaadin/data/Property.java b/server/src/com/vaadin/data/Property.java
index 3e5c6826bb..7e46af09b7 100644
--- a/server/src/com/vaadin/data/Property.java
+++ b/server/src/com/vaadin/data/Property.java
@@ -304,6 +304,13 @@ public interface Property<T> extends Serializable {
* @param listener
* the new Listener to be registered
*/
+ public void addValueChangeListener(Property.ValueChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addValueChangeListener(ValueChangeListener)}
+ **/
+ @Deprecated
public void addListener(Property.ValueChangeListener listener);
/**
@@ -312,6 +319,14 @@ public interface Property<T> extends Serializable {
* @param listener
* listener to be removed
*/
+ public void removeValueChangeListener(
+ Property.ValueChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removeValueChangeListener(ValueChangeListener)}
+ **/
+ @Deprecated
public void removeListener(Property.ValueChangeListener listener);
}
@@ -379,6 +394,14 @@ public interface Property<T> extends Serializable {
* @param listener
* the new Listener to be registered
*/
+ public void addReadOnlyStatusChangeListener(
+ Property.ReadOnlyStatusChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addReadOnlyStatusChangeListener(ReadOnlyStatusChangeListener)}
+ **/
+ @Deprecated
public void addListener(Property.ReadOnlyStatusChangeListener listener);
/**
@@ -387,6 +410,14 @@ public interface Property<T> extends Serializable {
* @param listener
* listener to be removed
*/
+ public void removeReadOnlyStatusChangeListener(
+ Property.ReadOnlyStatusChangeListener listener);
+
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removeReadOnlyStatusChangeListener(ReadOnlyStatusChangeListener)}
+ **/
+ @Deprecated
public void removeListener(
Property.ReadOnlyStatusChangeListener listener);
}