diff options
author | Jani Laakso <jani.laakso@itmill.com> | 2007-12-04 19:51:22 +0000 |
---|---|---|
committer | Jani Laakso <jani.laakso@itmill.com> | 2007-12-04 19:51:22 +0000 |
commit | 3b5793fd5540f8eee3c9a0ef49e2688c9505920c (patch) | |
tree | c60d8b56d5f2fe2772e2728f7ac639f3ff780af1 /src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java | |
parent | 2bfeca0498c879c11f11a54a22ad87cccdaa78c2 (diff) | |
download | vaadin-framework-3b5793fd5540f8eee3c9a0ef49e2688c9505920c.tar.gz vaadin-framework-3b5793fd5540f8eee3c9a0ef49e2688c9505920c.zip |
License header parametrized
Cleanup performed
Organized imports
Format
svn changeset:3162/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java')
-rw-r--r-- | src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java index c4c2bb76c0..8b0f6b5ca2 100644 --- a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java +++ b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java @@ -1,3 +1,7 @@ +/*
+@ITMillApache2LicenseForJavaFiles@
+ */
+
package com.itmill.toolkit.tests;
import java.util.Locale;
@@ -18,9 +22,9 @@ import com.itmill.toolkit.ui.Button.ClickListener; public class TestForBasicApplicationLayout extends CustomComponent {
- private Button click;
- private Button click2;
- private TabSheet tab;
+ private final Button click;
+ private final Button click2;
+ private final TabSheet tab;
public TestForBasicApplicationLayout() {
@@ -41,26 +45,27 @@ public class TestForBasicApplicationLayout extends CustomComponent { });
- SplitPanel sp = new SplitPanel(SplitPanel.ORIENTATION_HORIZONTAL);
+ final SplitPanel sp = new SplitPanel(SplitPanel.ORIENTATION_HORIZONTAL);
sp.setSplitPosition(290, Sizeable.UNITS_PIXELS);
- SplitPanel sp2 = new SplitPanel(SplitPanel.ORIENTATION_VERTICAL);
+ final SplitPanel sp2 = new SplitPanel(SplitPanel.ORIENTATION_VERTICAL);
sp2.setSplitPosition(255, Sizeable.UNITS_PIXELS);
- Panel p = new Panel("Accordion Panel");
+ final Panel p = new Panel("Accordion Panel");
p.setSizeFull();
tab = new TabSheet();
tab.setSizeFull();
- Panel report = new Panel("Monthly Program Runs", new ExpandLayout());
- OrderedLayout controls = new OrderedLayout();
+ final Panel report = new Panel("Monthly Program Runs",
+ new ExpandLayout());
+ final OrderedLayout controls = new OrderedLayout();
controls.setMargin(true);
controls.addComponent(new Label("Report tab"));
controls.addComponent(click);
controls.addComponent(click2);
report.addComponent(controls);
- DateField cal = new DateField();
+ final DateField cal = new DateField();
cal.setResolution(DateField.RESOLUTION_DAY);
cal.setLocale(new Locale("en", "US"));
report.addComponent(cal);
@@ -71,7 +76,7 @@ public class TestForBasicApplicationLayout extends CustomComponent { sp2.setFirstComponent(report);
- Table table = TestForTablesInitialColumnWidthLogicRendering
+ final Table table = TestForTablesInitialColumnWidthLogicRendering
.getTestTable(5, 200);
table.setPageLength(15);
table.setSelectable(true);
|