blob: a58f2cdebbabee1cd76fce95b4bd3bfa9e012a0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/*
@VaadinApache2LicenseForJavaFiles@
*/
package com.vaadin.shared.ui.label;
/**
* Content modes defining how the client should interpret a Label's value.
*
* @since 7.0.0
*/
public enum ContentMode {
/**
* Content mode, where the label contains only plain text.
*/
TEXT,
/**
* Content mode, where the label contains pre formatted text. In this mode
* newlines are preserved when rendered on the screen.
*/
PREFORMATTED,
/**
* Content mode, where the label contains XHTML. Care should be taken to
* ensure
*/
XHTML,
/**
* Content mode, where the label contains well-formed or well-balanced XML.
* This is handled in the same way as {@link #XHTML}.
*
* @deprecated Use {@link #XHTML} instead
*/
@Deprecated
XML,
/**
* Legacy content mode, where the label contains RAW output. This is handled
* in exactly the same way as {@link #XHTML}.
*
* @deprecated Use {@link #XHTML} instead
*/
@Deprecated
RAW;
}
|