org.specs2.form

TextCell

Related Docs: object TextCell | package form

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

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

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

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

    Definition Classes
    Any
  5. def clone(): AnyRef

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

    do the decoration

    do the decoration

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

    set a new Decorator for the label

    set a new Decorator for the label

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

    do the decoration

    do the decoration

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

    set a new Decorator for the value

    set a new Decorator for the value

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

    set a new Decorator

    set a new Decorator

    Definition Classes
    DecoratedProperty
  11. val decorator: Decorator

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

    set a new Decorator

    set a new Decorator

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

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

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

    returns

    a Result

    Definition Classes
    TextCellExecutable
  16. def executeCell: TextCell

    execute the Cell and returns it

    execute the Cell and returns it

    Definition Classes
    TextCellCell
  17. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  21. def labelStyles: String

    return the label styles

    return the label styles

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

    modify the result to return

    modify the result to return

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

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

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

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

  27. val s: String

  28. def setFailure: Cell

    Definition Classes
    Cell
  29. def setPending: Cell

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

    Definition Classes
    TextCellCell
  31. def setSkipped: Cell

    Definition Classes
    Cell
  32. def setSuccess: Cell

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

    set a new style for the label

    set a new style for the label

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

    set a new style for the value

    set a new style for the value

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

    set a new style

    set a new style

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

    Definition Classes
    AnyRef
  37. def text: String

    returns

    a text representation

    Definition Classes
    TextCellText
  38. def valueStyles: String

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

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

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

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

    returns

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

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

    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