org.specs2.specification

Forms

trait Forms extends FormsBuilder with DecoratedProperties

Allow a Form to be inserted among Fragments as a Text Fragment Allow a Form to be used as an example body and return a Result automatically

Linear Supertypes
DecoratedProperties, FormsBuilder, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Forms
  2. DecoratedProperties
  3. FormsBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Decorated[T <: DecoratedProperty[T]] extends AnyRef

    Definition Classes
    DecoratedProperties

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. implicit def anyCellableSeq[T](seq: Seq[T])(implicit arg0: (T) ⇒ Cell): Seq[Cell]

    any seq of object convertible to cells

    any seq of object convertible to cells

    Definition Classes
    FormsBuilder
  7. implicit def anyIsField[T](t: ⇒ T): Field[T]

    anything can be added on a Form row as a Field

    anything can be added on a Form row as a Field

    Definition Classes
    FormsBuilder
  8. implicit def anyIsFieldCell(t: ⇒ Any): FieldCell

    anything can be added on a Form row as a TextCell

    anything can be added on a Form row as a TextCell

    Definition Classes
    FormsBuilder
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def effect[T](label: String, value: ⇒ T): Effect[T]

    returns

    a new EffectCell with a label and a value

    Definition Classes
    FormsBuilder
  12. implicit def effectIsTextCell(t: Effect[_]): EffectCell

    a Effect can be added on a Form row as a EffectCell

    a Effect can be added on a Form row as a EffectCell

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

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

    Definition Classes
    AnyRef → Any
  15. def field(label: String, value1: Field[_], values: Field[_]*): Field[String]

    returns

    a new Field with a label and several values

    Definition Classes
    FormsBuilder
  16. def field[T](label: String, value: ⇒ T): Field[T]

    returns

    a new Field with a label and a value

    Definition Classes
    FormsBuilder
  17. def field[T](value: ⇒ T): Field[T]

    returns

    a new Field with no label and a value

    Definition Classes
    FormsBuilder
  18. implicit def fieldIsTextCell(t: Field[_]): FieldCell

    a Field can be added on a Form row as a FieldCell

    a Field can be added on a Form row as a FieldCell

    Definition Classes
    FormsBuilder
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def form(title: String): Form

    returns

    a new Form with the given title

    Definition Classes
    FormsBuilder
  21. implicit def formAsResult: AsResult[Form]

    a Form can be implicitly transformed to results

    a Form can be implicitly transformed to results

    Definition Classes
    FormsBuilder
  22. implicit def formIsCell(t: ⇒ Form): FormCell

    a Form can be added on a Form row as a FormCell

    a Form can be added on a Form row as a FormCell

    Definition Classes
    FormsBuilder
  23. implicit def formIsExecutable(f: Form): Result

    a Form can be implicitly executed if necessary

    a Form can be implicitly executed if necessary

    Definition Classes
    FormsBuilder
  24. implicit def formsAreExamples(aForm: ⇒ Form): Example

  25. implicit def formsHoldersAreExamples(f: ⇒ AnyRef { def form: org.specs2.form.Form }): Example

  26. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  29. def lazyfy(c: ⇒ Cell): LazyCell

    a cell can be added lazily to a row.

    a cell can be added lazily to a row. It will only be evaluated when necessary

    Definition Classes
    FormsBuilder
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  33. def prop[T, S](label: String, actual: ⇒ T, expected: ⇒ S, c: Matcher[T]): Prop[T, S]

    returns

    a new Prop with a label, an actual value and a matcher to apply to the actual value

    Definition Classes
    FormsBuilder
  34. def prop[T](actual: ⇒ T, c: Matcher[T]): Prop[T, T]

    returns

    a new Prop with no label, an actual value and a matcher to apply to the actual value

    Definition Classes
    FormsBuilder
  35. def prop[T](label: String, actual: ⇒ T, c: Matcher[T]): Prop[T, T]

    returns

    a new Prop with a label, an actual value and a matcher to apply to the actual value

    Definition Classes
    FormsBuilder
  36. def prop[T, S](label: String, actual: ⇒ T, c: (S) ⇒ Matcher[T]): Prop[T, S]

    returns

    a new Prop with a label, an actual value and a matcher to apply to values

    Definition Classes
    FormsBuilder
  37. def prop[T, S](label: String, actual: ⇒ T, c: (T, S) ⇒ Result): Prop[T, S]

    returns

    a new Prop with a label, an actual value and a constraint to apply to values

    Definition Classes
    FormsBuilder
  38. def prop[T, S](label: String, actual: ⇒ T, exp: ⇒ S): Prop[T, S]

    returns

    a new Prop with a label, an actual value and expected value

    Definition Classes
    FormsBuilder
  39. def prop[T](label: String, actual: ⇒ T): Prop[T, T]

    returns

    a new Prop with a label and an actual value only

    Definition Classes
    FormsBuilder
  40. def prop[T](act: ⇒ T): Prop[T, T]

    returns

    a new Prop with an actual value only

    Definition Classes
    FormsBuilder
  41. implicit def propIsCell(t: Prop[_, _]): PropCell

    a Prop can be adde d on a Form row as a PropCell

    a Prop can be adde d on a Form row as a PropCell

    Definition Classes
    FormsBuilder
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def tab(label: String, form: Form): Tabs

    returns

    a new Tabs object with a first tab

    Definition Classes
    FormsBuilder
  44. def tabs: Tabs

    returns

    a new Tabs object

    Definition Classes
    FormsBuilder
  45. implicit def toDecorated[T <: DecoratedProperty[T]](d: T): Decorated[T]

    Definition Classes
    DecoratedProperties
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. implicit def xmlIsACell[T](xml: ⇒ NodeSeq): XmlCell

    any xml can be injected as a cell

    any xml can be injected as a cell

    Definition Classes
    FormsBuilder

Inherited from DecoratedProperties

Inherited from FormsBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped