summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-25 19:37:57 +0300
committerArtur Signell <artur@vaadin.com>2016-08-26 19:49:06 +0300
commitd13ca5506a2f7eb3dce75b98238bdb280ec7fa20 (patch)
tree02575981ecfeecd07561337e8f5e04ce8eca8236 /client
parent818f7d1cb8a92473f685144fed55facdc960697d (diff)
downloadvaadin-framework-d13ca5506a2f7eb3dce75b98238bdb280ec7fa20.tar.gz
vaadin-framework-d13ca5506a2f7eb3dce75b98238bdb280ec7fa20.zip
Implement new Label
Label does intentionally not implement HasValue as it cannot provide a value to a model Change-Id: I36b8e1794d64caf566fa802177051ae2eb637bf9
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/ui/label/LabelConnector.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/label/LabelConnector.java b/client/src/main/java/com/vaadin/client/ui/label/LabelConnector.java
index 40734a7a61..0d66a06941 100644
--- a/client/src/main/java/com/vaadin/client/ui/label/LabelConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/label/LabelConnector.java
@@ -55,15 +55,9 @@ public class LabelConnector extends AbstractComponentConnector {
break;
case HTML:
- case RAW:
sinkOnloads = true;
- case XML:
getWidget().setHTML(getState().text);
break;
- default:
- getWidget().setText("");
- break;
-
}
Profiler.leave("LabelConnector.onStateChanged update content");