aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2012-09-19 15:14:01 +0000
committerArtur Signell <artur@vaadin.com>2012-09-28 22:04:44 +0300
commitfb00d1e067cf9bb0d48a4edea1091a447b5a922c (patch)
tree70f356815037130290253a8bd7597b5f17f7047c /uitest/src/com/vaadin
parentca59c93fb4dbc112e5deb5f5a4b10c0c730a4be4 (diff)
downloadvaadin-framework-fb00d1e067cf9bb0d48a4edea1091a447b5a922c.tar.gz
vaadin-framework-fb00d1e067cf9bb0d48a4edea1091a447b5a922c.zip
CRLF -> LF
Change-Id: Ib1a828ac5f423de8e05c4ad7c8f399ccaf0beb78
Diffstat (limited to 'uitest/src/com/vaadin')
-rw-r--r--uitest/src/com/vaadin/tests/components/label/LabelPropertySourceValue.java114
1 files changed, 57 insertions, 57 deletions
diff --git a/uitest/src/com/vaadin/tests/components/label/LabelPropertySourceValue.java b/uitest/src/com/vaadin/tests/components/label/LabelPropertySourceValue.java
index d4ec16da4e..c1965ff92b 100644
--- a/uitest/src/com/vaadin/tests/components/label/LabelPropertySourceValue.java
+++ b/uitest/src/com/vaadin/tests/components/label/LabelPropertySourceValue.java
@@ -1,58 +1,58 @@
-package com.vaadin.tests.components.label;
-
-import com.vaadin.data.util.ObjectProperty;
-import com.vaadin.server.VaadinRequest;
-import com.vaadin.tests.components.AbstractTestUI;
-import com.vaadin.ui.Button;
-import com.vaadin.ui.Button.ClickEvent;
-import com.vaadin.ui.Button.ClickListener;
-import com.vaadin.ui.Label;
-
-public class LabelPropertySourceValue extends AbstractTestUI {
- private Label label;
-
- @Override
- public void setup(VaadinRequest request) {
- label = new Label("Hello Vaadin user");
- addComponent(label);
- Button button = new Button("Give label a new property data source...");
- button.addClickListener(new ClickListener() {
- @Override
- public void buttonClick(ClickEvent event) {
- ObjectProperty<String> p = new ObjectProperty<String>(
- "This text should appear on the label after clicking the button.");
-
- label.setPropertyDataSource(p);
- }
- });
- addComponent(button);
- button = new Button("Remove data source", new ClickListener() {
-
- @Override
- public void buttonClick(ClickEvent event) {
- label.setPropertyDataSource(null);
- }
- });
- addComponent(button);
-
- button = new Button("Set label value to 'foo'", new ClickListener() {
-
- @Override
- public void buttonClick(ClickEvent event) {
- label.setValue("foo");
- }
- });
- addComponent(button);
- }
-
- @Override
- protected String getTestDescription() {
- return "The value should change by clicking the button";
- }
-
- @Override
- protected Integer getTicketNumber() {
- return 9618;
- }
-
+package com.vaadin.tests.components.label;
+
+import com.vaadin.data.util.ObjectProperty;
+import com.vaadin.server.VaadinRequest;
+import com.vaadin.tests.components.AbstractTestUI;
+import com.vaadin.ui.Button;
+import com.vaadin.ui.Button.ClickEvent;
+import com.vaadin.ui.Button.ClickListener;
+import com.vaadin.ui.Label;
+
+public class LabelPropertySourceValue extends AbstractTestUI {
+ private Label label;
+
+ @Override
+ public void setup(VaadinRequest request) {
+ label = new Label("Hello Vaadin user");
+ addComponent(label);
+ Button button = new Button("Give label a new property data source...");
+ button.addClickListener(new ClickListener() {
+ @Override
+ public void buttonClick(ClickEvent event) {
+ ObjectProperty<String> p = new ObjectProperty<String>(
+ "This text should appear on the label after clicking the button.");
+
+ label.setPropertyDataSource(p);
+ }
+ });
+ addComponent(button);
+ button = new Button("Remove data source", new ClickListener() {
+
+ @Override
+ public void buttonClick(ClickEvent event) {
+ label.setPropertyDataSource(null);
+ }
+ });
+ addComponent(button);
+
+ button = new Button("Set label value to 'foo'", new ClickListener() {
+
+ @Override
+ public void buttonClick(ClickEvent event) {
+ label.setValue("foo");
+ }
+ });
+ addComponent(button);
+ }
+
+ @Override
+ protected String getTestDescription() {
+ return "The value should change by clicking the button";
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ return 9618;
+ }
+
} \ No newline at end of file