Class/Object

org.specs2.form

TextCell

Related Docs: object TextCell | package form

Permalink

case class TextCell(s: String, result: Option[Result] = None, decorator: Decorator = Decorator()) extends Cell with DecoratedProperty[TextCell] with Product with Serializable

Simple Cell embedding an arbitrary String

Linear Supertypes
Serializable, Serializable, Product, Equals, DecoratedProperty[TextCell], DecoratedLabel[TextCell], Cell, Executable, Xml, Text, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TextCell
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DecoratedProperty
  7. DecoratedLabel
  8. Cell
  9. Executable
  10. Xml
  11. Text
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TextCell(s: String, result: Option[Result] = None, decorator: Decorator = Decorator())

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def decorateLabel(ns: Any): Any

    Permalink

    do the decoration

    do the decoration

    Definition Classes
    DecoratedLabel
  7. def decorateLabelWith(f: (Any) ⇒ Any): TextCell

    Permalink

    set a new Decorator for the label

    set a new Decorator for the label

    Definition Classes
    DecoratedLabel
  8. def decorateValue(ns: Any): Any

    Permalink

    do the decoration

    do the decoration

    Definition Classes
    DecoratedProperty
  9. def decorateValueWith(f: (Any) ⇒ Any): TextCell

    Permalink

    set a new Decorator for the value

    set a new Decorator for the value

    Definition Classes
    DecoratedProperty
  10. def decorateWith(f: (Any) ⇒ Any): TextCell

    Permalink

    set a new Decorator

    set a new Decorator

    Definition Classes
    DecoratedProperty
  11. val decorator: Decorator

    Permalink
    Definition Classes
    TextCellDecoratedLabel
  12. def decoratorIs(d: Decorator): TextCell

    Permalink

    set a new Decorator

    set a new Decorator

    Definition Classes
    TextCellDecoratedLabel
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    TextCell → Equals → AnyRef → Any
  15. def execute: Result

    Permalink

    returns

    a Result

    Definition Classes
    TextCellExecutable
  16. def executeCell: TextCell

    Permalink

    execute the Cell and returns it

    execute the Cell and returns it

    Definition Classes
    TextCellCell
  17. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    TextCell → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def labelStyles: String

    Permalink

    return the label styles

    return the label styles

    Definition Classes
    DecoratedLabel
  22. def map(f: (Result) ⇒ Result): Executable

    Permalink

    modify the result to return

    modify the result to return

    Definition Classes
    Executable
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val result: Option[Result]

    Permalink
  27. val s: String

    Permalink
  28. def setFailure: Cell

    Permalink
    Definition Classes
    Cell
  29. def setPending: Cell

    Permalink
    Definition Classes
    Cell
  30. def setResult(r: Result): TextCell

    Permalink
    Definition Classes
    TextCellCell
  31. def setSkipped: Cell

    Permalink
    Definition Classes
    Cell
  32. def setSuccess: Cell

    Permalink
    Definition Classes
    Cell
  33. def styleLabelWith(s: (String, String)): TextCell

    Permalink

    set a new style for the label

    set a new style for the label

    Definition Classes
    DecoratedLabel
  34. def styleValueWith(s: (String, String)): TextCell

    Permalink

    set a new style for the value

    set a new style for the value

    Definition Classes
    DecoratedProperty
  35. def styleWith(s: (String, String)): TextCell

    Permalink

    set a new style

    set a new style

    Definition Classes
    DecoratedProperty
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def text: String

    Permalink

    returns

    a text representation

    Definition Classes
    TextCellText
  38. def valueStyles: String

    Permalink
    Definition Classes
    DecoratedProperty
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def width: Int

    Permalink

    returns

    the width of the cell, without borders when it's a FormCell

    Definition Classes
    Text
  43. def xml(implicit args: Arguments): Elem

    Permalink

    returns

    an xml representation

    Definition Classes
    TextCellXml

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DecoratedProperty[TextCell]

Inherited from DecoratedLabel[TextCell]

Inherited from Cell

Inherited from Executable

Inherited from Xml

Inherited from Text

Inherited from AnyRef

Inherited from Any

Ungrouped