summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractSplitPanel.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/AbstractSplitPanel.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/AbstractSplitPanel.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractSplitPanel.java22
1 files changed, 20 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/AbstractSplitPanel.java b/server/src/com/vaadin/ui/AbstractSplitPanel.java
index f9fea66276..f1452caacf 100644
--- a/server/src/com/vaadin/ui/AbstractSplitPanel.java
+++ b/server/src/com/vaadin/ui/AbstractSplitPanel.java
@@ -501,16 +501,34 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer {
}
- public void addListener(SplitterClickListener listener) {
+ public void addSplitterClickListener(SplitterClickListener listener) {
addListener(EventId.CLICK_EVENT_IDENTIFIER, SplitterClickEvent.class,
listener, SplitterClickListener.clickMethod);
}
- public void removeListener(SplitterClickListener listener) {
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #addSplitterClickListener(SplitterClickListener)}
+ **/
+ @Deprecated
+ public void addListener(SplitterClickListener listener) {
+ addSplitterClickListener(listener);
+ }
+
+ public void removeSplitterClickListener(SplitterClickListener listener) {
removeListener(EventId.CLICK_EVENT_IDENTIFIER,
SplitterClickEvent.class, listener);
}
+ /**
+ * @deprecated Since 7.0, replaced by
+ * {@link #removeSplitterClickListener(SplitterClickListener)}
+ **/
+ @Deprecated
+ public void removeListener(SplitterClickListener listener) {
+ removeSplitterClickListener(listener);
+ }
+
@Override
protected AbstractSplitPanelState getState() {
return (AbstractSplitPanelState) super.getState();