diff options
Diffstat (limited to 'server/src/com/vaadin/event/ItemClickEvent.java')
-rw-r--r-- | server/src/com/vaadin/event/ItemClickEvent.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/src/com/vaadin/event/ItemClickEvent.java b/server/src/com/vaadin/event/ItemClickEvent.java index c736353614..99c36cf51b 100644 --- a/server/src/com/vaadin/event/ItemClickEvent.java +++ b/server/src/com/vaadin/event/ItemClickEvent.java @@ -119,6 +119,13 @@ public class ItemClickEvent extends ClickEvent implements Serializable { * @param listener * ItemClickListener to be registered */ + public void addItemClickListener(ItemClickListener listener); + + /** + * @deprecated Since 7.0, replaced by + * {@link #addItemClickListener(ItemClickListener)} + **/ + @Deprecated public void addListener(ItemClickListener listener); /** @@ -127,6 +134,13 @@ public class ItemClickEvent extends ClickEvent implements Serializable { * @param listener * ItemClickListener to be removed */ + public void removeItemClickListener(ItemClickListener listener); + + /** + * @deprecated Since 7.0, replaced by + * {@link #removeItemClickListener(ItemClickListener)} + **/ + @Deprecated public void removeListener(ItemClickListener listener); } |