diff options
author | John Ahlroos <john@vaadin.com> | 2012-09-07 10:32:05 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-09-07 10:32:05 +0300 |
commit | 52fa9639bab979d13e852e42f6aba6fe60b4ffe4 (patch) | |
tree | aaf4486eae2df058d609da7391bdf788fdf32614 /uitest/src/com/vaadin/tests/LayoutDemo.java | |
parent | 074b1095ee302af67626055820853ed1b8a4ea86 (diff) | |
download | vaadin-framework-52fa9639bab979d13e852e42f6aba6fe60b4ffe4.tar.gz vaadin-framework-52fa9639bab979d13e852e42f6aba6fe60b4ffe4.zip |
Removed deprecated ContenMode.XHTML
Diffstat (limited to 'uitest/src/com/vaadin/tests/LayoutDemo.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/LayoutDemo.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/uitest/src/com/vaadin/tests/LayoutDemo.java b/uitest/src/com/vaadin/tests/LayoutDemo.java index 148e6105a6..b20e0b9bc8 100644 --- a/uitest/src/com/vaadin/tests/LayoutDemo.java +++ b/uitest/src/com/vaadin/tests/LayoutDemo.java @@ -98,23 +98,23 @@ public class LayoutDemo extends com.vaadin.Application { // mainWindow.addComponent(new Label( "<h3>Horizontal ordered layout</h3>Added four components.", - ContentMode.XHTML)); + ContentMode.HTML)); mainWindow.addComponent(layoutA); mainWindow.addComponent(new Label( "<br /><h3>Vertical ordered layout</h3>Added four components.", - ContentMode.XHTML)); + ContentMode.HTML)); mainWindow.addComponent(layoutB); mainWindow.addComponent(new Label( "<br /><h3>Grid Layout (4 x 4)</h3>Added 16 components.", - ContentMode.XHTML)); + ContentMode.HTML)); mainWindow.addComponent(layoutG); mainWindow.addComponent(new Label("<br /><h3>Grid Layout (4 x 4)</h3>" + "Added four panels and four embedded components " - + "diagonally with absolute coordinates.", ContentMode.XHTML)); + + "diagonally with absolute coordinates.", ContentMode.HTML)); mainWindow.addComponent(layoutG2); mainWindow.addComponent(new Label( "<br /><h3>TabSheet</h3>Added above layouts as tabs.", - ContentMode.XHTML)); + ContentMode.HTML)); mainWindow.addComponent(tabsheet); } @@ -135,7 +135,7 @@ public class LayoutDemo extends com.vaadin.Application { + "extremities and may have a caption to clarify the nature of the contained components' purpose." + " Panel contains an layout where the actual contained components are added, " + "this layout may be switched on the fly.", - ContentMode.XHTML)); + ContentMode.HTML)); panel.setWidth("222px"); return panel; } |