Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ContentMode.java 1.0KB

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