DecoratedLabel

org.specs2.form.DecoratedLabel
trait DecoratedLabel[T]

A DecoratedLabel holds a decorator and delegates decoration and styling operations to that Decorator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Effect[T]
class Field[T]
class Prop[T, S]
class TextCell

Members list

Value members

Abstract methods

def decoratorIs(d: Decorator): T

set a new Decorator

set a new Decorator

Attributes

Concrete methods

def decorateLabel(ns: Any): Any

do the decoration

do the decoration

Attributes

def decorateLabelWith(f: Any => Any): T

set a new Decorator for the label

set a new Decorator for the label

Attributes

def labelStyles: String

return the label styles

return the label styles

Attributes

def styleLabelWith(s: (String, String)): T

set a new style for the label

set a new style for the label

Attributes

Abstract fields