summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/tests/TestForExpandLayout3.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-10-27 07:57:12 +0000
committerArtur Signell <artur.signell@itmill.com>2009-10-27 07:57:12 +0000
commit6a3c715dae922edd723c9423b4308d5d7948b74e (patch)
tree46a007274681a9803afccf135ace5554f3e01e3a /src/com/vaadin/tests/TestForExpandLayout3.java
parent931d75fef69deb9b738fad97001cf5621de9f43e (diff)
downloadvaadin-framework-6a3c715dae922edd723c9423b4308d5d7948b74e.tar.gz
vaadin-framework-6a3c715dae922edd723c9423b4308d5d7948b74e.zip
Split demo and tests files to own source folders, for #3298
svn changeset:9390/svn branch:6.2
Diffstat (limited to 'src/com/vaadin/tests/TestForExpandLayout3.java')
-rw-r--r--src/com/vaadin/tests/TestForExpandLayout3.java79
1 files changed, 0 insertions, 79 deletions
diff --git a/src/com/vaadin/tests/TestForExpandLayout3.java b/src/com/vaadin/tests/TestForExpandLayout3.java
deleted file mode 100644
index ae4adfcfaa..0000000000
--- a/src/com/vaadin/tests/TestForExpandLayout3.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
-@ITMillApache2LicenseForJavaFiles@
- */
-
-package com.vaadin.tests;
-
-import com.vaadin.ui.Button;
-import com.vaadin.ui.CustomComponent;
-import com.vaadin.ui.DateField;
-import com.vaadin.ui.ExpandLayout;
-
-/**
- *
- * @author IT Mill Ltd.
- */
-public class TestForExpandLayout3 extends CustomComponent {
-
- ExpandLayout main = new ExpandLayout();
-
- DateField df;
-
- public TestForExpandLayout3() {
- setCompositionRoot(main);
- createNewView();
- }
-
- public void createNewView() {
- main.removeAllComponents();
-
- ExpandLayout el;
- Button b;
- Button b2;
-
- el = new ExpandLayout(ExpandLayout.ORIENTATION_HORIZONTAL);
-
- b = new Button("SDFS");
- b2 = new Button("DSFSDFDFSSDF");
-
- el.addComponent(b);
- el.addComponent(b2);
-
- el.expand(b);
- el.setComponentAlignment(b, ExpandLayout.ALIGNMENT_RIGHT,
- ExpandLayout.ALIGNMENT_VERTICAL_CENTER);
- main.addComponent(el);
-
- el = new ExpandLayout(ExpandLayout.ORIENTATION_HORIZONTAL);
-
- b = new Button("SDFS");
- b2 = new Button("DSFSDFDFSSDF");
-
- el.addComponent(b);
- el.addComponent(b2);
-
- el.expand(b);
- el.setComponentAlignment(b, ExpandLayout.ALIGNMENT_HORIZONTAL_CENTER,
- ExpandLayout.ALIGNMENT_VERTICAL_CENTER);
- el.setHeight(60, ExpandLayout.UNITS_PIXELS);
- el.setMargin(true);
- main.addComponent(el);
-
- el = new ExpandLayout(ExpandLayout.ORIENTATION_HORIZONTAL);
-
- b = new Button("SDFS");
- b2 = new Button("DSFSDFDFSSDF");
-
- el.addComponent(b);
- el.addComponent(b2);
-
- el.expand(b);
- el.setComponentAlignment(b, ExpandLayout.ALIGNMENT_RIGHT,
- ExpandLayout.ALIGNMENT_BOTTOM);
- el.setHeight(100, ExpandLayout.UNITS_PIXELS);
- el.setSpacing(true);
-
- main.addComponent(el);
-
- }
-}