summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/label/ContentMode.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/shared/src/com/vaadin/shared/ui/label/ContentMode.java b/shared/src/com/vaadin/shared/ui/label/ContentMode.java
index 1927b6c01b..3e6e5b8e45 100644
--- a/shared/src/com/vaadin/shared/ui/label/ContentMode.java
+++ b/shared/src/com/vaadin/shared/ui/label/ContentMode.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.shared.ui.label;
+
/**
* Content modes defining how the client should interpret a Label's value.
*
@@ -33,9 +34,16 @@ public enum ContentMode {
PREFORMATTED,
/**
- * Content mode, where the label contains XHTML. Care should be taken to
- * ensure
+ * Content mode, where the label contains HTML.
+ */
+ HTML,
+
+ /**
+ * Content mode, where the label contains XHTML.
+ *
+ * @deprecated Use {@link ContentMode.HTML}
*/
+ @Deprecated
XHTML,
/**