diff options
Diffstat (limited to 'server/src/com/vaadin/ui')
-rw-r--r-- | server/src/com/vaadin/ui/HorizontalSplitPanel.java | 7 | ||||
-rw-r--r-- | server/src/com/vaadin/ui/VerticalSplitPanel.java | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/HorizontalSplitPanel.java b/server/src/com/vaadin/ui/HorizontalSplitPanel.java index 14bfdba023..922986eeda 100644 --- a/server/src/com/vaadin/ui/HorizontalSplitPanel.java +++ b/server/src/com/vaadin/ui/HorizontalSplitPanel.java @@ -15,6 +15,8 @@ */ package com.vaadin.ui; +import com.vaadin.shared.ui.splitpanel.HorizontalSplitPanelState; + /** * A horizontal split panel contains two components and lays them horizontally. * The first component is on the left side. @@ -59,4 +61,9 @@ public class HorizontalSplitPanel extends AbstractSplitPanel { setFirstComponent(firstComponent); setSecondComponent(secondComponent); } + + @Override + protected HorizontalSplitPanelState getState() { + return (HorizontalSplitPanelState) super.getState(); + } } diff --git a/server/src/com/vaadin/ui/VerticalSplitPanel.java b/server/src/com/vaadin/ui/VerticalSplitPanel.java index 4476d5a19b..e5e6eb60e1 100644 --- a/server/src/com/vaadin/ui/VerticalSplitPanel.java +++ b/server/src/com/vaadin/ui/VerticalSplitPanel.java @@ -15,6 +15,8 @@ */ package com.vaadin.ui; +import com.vaadin.shared.ui.splitpanel.VerticalSplitPanelState; + /** * A vertical split panel contains two components and lays them vertically. The * first component is above the second component. @@ -53,4 +55,9 @@ public class VerticalSplitPanel extends AbstractSplitPanel { setFirstComponent(firstComponent); setSecondComponent(secondComponent); } + + @Override + protected VerticalSplitPanelState getState() { + return (VerticalSplitPanelState) super.getState(); + } } |