Browse Source

Use correct state classes for Vertical and HorizontalLayout

Change-Id: Ifa52a2ff7225076129de9b0f964b82704221dccd
tags/7.6.0.alpha4
Artur Signell 8 years ago
parent
commit
15de371e30

+ 7
- 0
server/src/com/vaadin/ui/HorizontalLayout.java View File

@@ -15,6 +15,8 @@
*/
package com.vaadin.ui;

import com.vaadin.shared.ui.orderedlayout.HorizontalLayoutState;

/**
* Horizontal layout
*
@@ -48,4 +50,9 @@ public class HorizontalLayout extends AbstractOrderedLayout {
addComponents(children);
}

@Override
protected HorizontalLayoutState getState() {
return (HorizontalLayoutState) super.getState();
}

}

+ 7
- 0
server/src/com/vaadin/ui/VerticalLayout.java View File

@@ -15,6 +15,8 @@
*/
package com.vaadin.ui;

import com.vaadin.shared.ui.orderedlayout.VerticalLayoutState;

/**
* Vertical layout
*
@@ -48,4 +50,9 @@ public class VerticalLayout extends AbstractOrderedLayout {
this();
addComponents(children);
}

@Override
protected VerticalLayoutState getState() {
return (VerticalLayoutState) super.getState();
}
}

Loading…
Cancel
Save