Decorator
org.specs2.form.Decorator
case class Decorator(label: Any => Any, value: Any => Any, labelStyles: Seq[String], valueStyles: Seq[String])
This class contains functions to decorate and style a label and a value:
- with a function taking the xml for the label/value and returning some xml
- with some xml attributes "name":"value" to style those labels/values
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.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article