diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-15 11:06:18 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-15 14:00:58 +0300 |
commit | 6b8412033e680ce6e5c7827ac504adf132305726 (patch) | |
tree | 0df05d16c324b285610af8910c126b58f4c490c5 /uitest/src/com/vaadin/tests/tickets/Ticket2222.java | |
parent | 9192b0bb5e5e699b506b3d3e7df4cf295fbea44a (diff) | |
download | vaadin-framework-6b8412033e680ce6e5c7827ac504adf132305726.tar.gz vaadin-framework-6b8412033e680ce6e5c7827ac504adf132305726.zip |
Build uitest war with maven
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2222.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tickets/Ticket2222.java | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2222.java b/uitest/src/com/vaadin/tests/tickets/Ticket2222.java deleted file mode 100644 index e86072d055..0000000000 --- a/uitest/src/com/vaadin/tests/tickets/Ticket2222.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.vaadin.tests.tickets; - -import com.vaadin.server.LegacyApplication; -import com.vaadin.ui.AbstractOrderedLayout; -import com.vaadin.ui.GridLayout; -import com.vaadin.ui.HorizontalLayout; -import com.vaadin.ui.Label; -import com.vaadin.ui.LegacyWindow; -import com.vaadin.ui.VerticalLayout; - -public class Ticket2222 extends LegacyApplication { - - @Override - public void init() { - LegacyWindow w = new LegacyWindow(getClass().getSimpleName()); - setMainWindow(w); - setTheme("tests-tickets"); - createUI((AbstractOrderedLayout) w.getContent()); - } - - private void createUI(AbstractOrderedLayout layout) { - HorizontalLayout horiz = new HorizontalLayout(); - horiz.setSpacing(true); - horiz.setMargin(true); - horiz.setStyleName("ticket2222"); - - horiz.addComponent(new Label("Horiz spacing: 60px;")); - horiz.addComponent(new Label("Margin-left: 40px")); - horiz.addComponent(new Label("Margin-top: 100px;")); - horiz.addComponent(new Label("Margin-right: 20px;")); - horiz.addComponent(new Label("Margin-bottom: 30px;")); - horiz.addStyleName("borders"); - - VerticalLayout vert = new VerticalLayout(); - vert.setSizeUndefined(); - vert.setSpacing(true); - vert.setMargin(false); - vert.setStyleName("ticket2222"); - vert.addComponent(new Label("Vert spacing: 50px;")); - vert.addComponent(new Label("No margins")); - vert.addComponent(new Label("label 3")); - vert.addStyleName("borders"); - - GridLayout gl = new GridLayout(3, 2); - gl.setStyleName("borders"); - gl.setSpacing(true); - gl.setMargin(true); - gl.setStyleName("ticket2222"); - gl.addComponent(new Label("Vert spacing: 50px; horiz 20px;")); - gl.addComponent(new Label("Margin-left: 40px")); - gl.addComponent(new Label("Margin-top: 100px;")); - gl.addComponent(new Label("Margin-right: 20px;")); - gl.addComponent(new Label("Margin-bottom: 30px;")); - gl.addComponent(new Label("label 3")); - gl.addStyleName("borders"); - - layout.addComponent(horiz); - layout.addComponent(new Label(" ")); - layout.addComponent(vert); - layout.addComponent(new Label(" ")); - layout.addComponent(gl); - } - -} |