org.specs2.form

Decorator

case class Decorator(label: (Any) ⇒ Any = ..., value: (Any) ⇒ Any = ..., labelStyles: Seq[String] = ..., valueStyles: Seq[String] = ...) extends Product with Serializable

This class contains functions to decorate and style a label and a value:

The methods of that class allow to stack new decoration, new styling attributes but also define standard decoration and styles for bold / italic / centered ... text.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Decorator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Decorator(label: (Any) ⇒ Any = ..., value: (Any) ⇒ Any = ..., labelStyles: Seq[String] = ..., valueStyles: Seq[String] = ...)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bkBlue: Decorator

  8. def bkBlueLabel: Decorator

  9. def bkBlueValue: Decorator

  10. def bkColor(c: String): Decorator

  11. def bkColorLabel(c: String): Decorator

  12. def bkColorValue(c: String): Decorator

  13. def bkGreen: Decorator

  14. def bkGreenLabel: Decorator

  15. def bkGreenValue: Decorator

  16. def bkGrey: Decorator

  17. def bkGreyLabel: Decorator

  18. def bkGreyValue: Decorator

  19. def bkRed: Decorator

  20. def bkRedLabel: Decorator

  21. def bkRedValue: Decorator

  22. def bkWhite: Decorator

  23. def bkWhiteLabel: Decorator

  24. def bkWhiteValue: Decorator

  25. def bkYellow: Decorator

  26. def bkYellowLabel: Decorator

  27. def bkYellowValue: Decorator

  28. def blue: Decorator

  29. def blueLabel: Decorator

  30. def blueValue: Decorator

  31. def bold: Decorator

  32. def boldLabel: Decorator

  33. def boldValue: Decorator

  34. def center: Decorator

  35. def centerLabel: Decorator

  36. def centerValue: Decorator

  37. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def code: Decorator

  39. def codeLabel: Decorator

  40. def codeValue: Decorator

  41. def color(c: String): Decorator

  42. def colorLabel(c: String): Decorator

  43. def colorValue(c: String): Decorator

  44. def decorateLabelWith(f: (Any) ⇒ Any): Decorator

  45. def decorateValueWith(f: (Any) ⇒ Any): Decorator

  46. def decorateWith(f: (Any) ⇒ Any): Decorator

  47. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  48. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  49. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  50. def green: Decorator

  51. def greenLabel: Decorator

  52. def greenValue: Decorator

  53. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  54. def italics: Decorator

  55. def italicsLabel: Decorator

  56. def italicsValue: Decorator

  57. val label: (Any) ⇒ Any

  58. val labelStyles: Seq[String]

  59. def left: Decorator

  60. def leftLabel: Decorator

  61. def leftValue: Decorator

  62. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  63. final def notify(): Unit

    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  65. def red: Decorator

  66. def redLabel: Decorator

  67. def redValue: Decorator

  68. def right: Decorator

  69. def rightLabel: Decorator

  70. def rightValue: Decorator

  71. def styleLabelWith(s: (String, String)): Decorator

  72. def styleValueWith(s: (String, String)): Decorator

  73. def styleWith(s: (String, String)): Decorator

  74. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  75. val value: (Any) ⇒ Any

  76. val valueStyles: Seq[String]

  77. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. def white: Decorator

  81. def whiteLabel: Decorator

  82. def whiteValue: Decorator

  83. def yellow: Decorator

  84. def yellowLabel: Decorator

  85. def yellowValue: Decorator

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped