diff options
author | Artur Signell <artur@vaadin.com> | 2012-06-28 10:24:48 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-06-28 10:34:18 +0300 |
commit | 23bafe0cf09918bc2c80455de1607be0035ee250 (patch) | |
tree | 10a50595d61e7dfb0b71132c240ea44fb737eccb /src/com/vaadin/ui | |
parent | 7e4dd75434647514a4f4745ff82db4c4e78a85e5 (diff) | |
download | vaadin-framework-23bafe0cf09918bc2c80455de1607be0035ee250.tar.gz vaadin-framework-23bafe0cf09918bc2c80455de1607be0035ee250.zip |
Updated javadoc
Diffstat (limited to 'src/com/vaadin/ui')
-rw-r--r-- | src/com/vaadin/ui/Label.java | 12 |
1 files changed, 7 insertions, 5 deletions
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<String>, } /** - * Gets the value of the label. Value of the label is the XML contents of - * the label. + * Gets the value of the label. + * <p> + * 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. + * </p> * - * @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<String>, /** * @see java.lang.Object#toString() - * @deprecated use the data source value or {@link #getStringValue()} - * instead + * @deprecated Use {@link #getValue()} instead */ @Deprecated @Override |