From 23bafe0cf09918bc2c80455de1607be0035ee250 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 28 Jun 2012 10:24:48 +0300 Subject: Updated javadoc --- src/com/vaadin/ui/Label.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/com/vaadin/ui') diff --git a/src/com/vaadin/ui/Label.java b/src/com/vaadin/ui/Label.java index e1c64605d7..e98da384cf 100644 --- a/src/com/vaadin/ui/Label.java +++ b/src/com/vaadin/ui/Label.java @@ -142,10 +142,13 @@ public class Label extends AbstractComponent implements Property, } /** - * Gets the value of the label. Value of the label is the XML contents of - * the label. + * Gets the value of the label. + *

+ * The value of the label is the text that is shown to the end user. + * Depending on the {@link ContentMode} it is plain text or markup. + *

* - * @return the Value of the label. + * @return the value of the label. */ public String getValue() { if (getPropertyDataSource() == null) { @@ -180,8 +183,7 @@ public class Label extends AbstractComponent implements Property, /** * @see java.lang.Object#toString() - * @deprecated use the data source value or {@link #getStringValue()} - * instead + * @deprecated Use {@link #getValue()} instead */ @Deprecated @Override -- cgit v1.2.3