anchor.diff:                                   label.getValue());
   
   // Change the label's text
  -editor.addValueChangeListener(event -> // Java 8
  -    label.setValue(editor.getValue()));
  -editor.setImmediate(true); // Send on Enter
  +editor.onChange(label::setValue);
  +// or onChange(value -> label.setValue(value));
   ----
   See the http://demo.vaadin.com/book-examples-vaadin7/book#component.label.basic[on-line example, window="_blank"].
  -
  -Label also supports data binding to a property data source, as described later
  -in <<components.label.databinding>>. However, in that case the value can not be
  -set through the label, as [classname]#Label# is not a
  -[interfacename]#Property.Editor# and is not allowed to write to a bound
  -property.
   
   Even though [classname]#Label# is text and is often used as a caption, it is a
   normal component and therefore also has a caption that you can set with
  
positive.code: ----
  See the http://demo.vaadin.com/book-examples-vaadin7/book#component.label.basic[on-line example, window="_blank"].
  
  [classname]#Label# implements the [interfacename]#Property# interface to allow
  accessing the text value, so you can get and set the text with
  [methodname]#getValue()# and [methodname]#setValue()#.
  
  [source, java]
  ----
  
negative.code: 
  endif::web[]
  
  [[components.label.css]]
  == CSS Style Rules
  
  