Class

org.specs2.form

InlinedForm

Related Doc: package form

Permalink

class InlinedForm extends Form

This Form overrides the toXml and text methods so that it appears seamlessly included in another Form.

Linear Supertypes
Form, Text, Executable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InlinedForm
  2. Form
  3. Text
  4. Executable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InlinedForm(title: Option[String] = None, rows: Seq[Row] = Vector(), result: Option[Result] = None)

    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. lazy val allRows: Seq[Row]

    Permalink

    returns

    all rows, including the header

    Definition Classes
    Form
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(a: Any): Boolean

    Permalink
    Definition Classes
    Form → AnyRef → Any
  9. def execute: Result

    Permalink

    execute all rows

    execute all rows

    returns

    a logical and on all results

    Definition Classes
    Form → Executable
  10. def executeForm: Form

    Permalink

    execute all rows

    execute all rows

    returns

    an executed Form

    Definition Classes
    Form
  11. def executeRows: Seq[Row]

    Permalink
    Definition Classes
    Form
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    Form → AnyRef → Any
  14. def inline: InlinedForm

    Permalink

    transform this form to a form that will be added as a element inside another form

    transform this form to a form that will be added as a element inside another form

    Definition Classes
    Form
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def map(f: (Result) ⇒ Result): Executable

    Permalink
    Definition Classes
    Executable
  17. lazy val maxSizes: Seq[Int]

    Permalink

    returns

    the maximum cell size, column by column

    Definition Classes
    Form
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def newForm(title: Option[String] = None, rows: Seq[Row] = Vector(), result: Option[Result] = None): InlinedForm

    Permalink

    returns

    a new Form. This method can be overridden to return a more accurate subtype

    Attributes
    protected
    Definition Classes
    InlinedFormForm
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. val result: Option[Result]

    Permalink
    Definition Classes
    Form
  23. val rows: Seq[Row]

    Permalink
    Definition Classes
    Form
  24. def sequence[T <: Any { def form: org.specs2.form.Form }](f1: Seq[T], f2: Seq[T]): Form

    Permalink
    Definition Classes
    Form
  25. def sequence(f1: Traversable[Form], f2: Traversable[Form]): Form

    Permalink
    Definition Classes
    Form
  26. def set[T <: Any { def form: org.specs2.form.Form }](f1: Seq[T], f2: Seq[T]): Form

    Permalink
    Definition Classes
    Form
  27. def set(f1: Traversable[Form], f2: Traversable[Form]): Form

    Permalink
    Definition Classes
    Form
  28. def setFailure: Form

    Permalink

    returns

    a Form where every Row is executed with a Failure

    Definition Classes
    Form
  29. def setPending: Form

    Permalink

    returns

    a Form where every Row is executed with a Pending

    Definition Classes
    Form
  30. def setResult(r: Result): Form

    Permalink

    returns

    a Form where every Row is executed with a given Result

    Definition Classes
    Form
  31. def setSkipped: Form

    Permalink

    returns

    a Form where every Row is executed with a Skipped

    Definition Classes
    Form
  32. def setSuccess: Form

    Permalink

    returns

    a Form where every Row is executed with a Success

    Definition Classes
    Form
  33. def subsequence[T <: Any { def form: org.specs2.form.Form }](f1: Seq[T], f2: Seq[T]): Form

    Permalink
    Definition Classes
    Form
  34. def subsequence(f1: Traversable[Form], f2: Traversable[Form]): Form

    Permalink
    Definition Classes
    Form
  35. def subset[T <: Any { def form: org.specs2.form.Form }](f1: Seq[T], f2: Seq[T]): Form

    Permalink
    Definition Classes
    Form
  36. def subset(f1: Traversable[Form], f2: Traversable[Form]): Form

    Permalink
    Definition Classes
    Form
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def tabs[T](values: Seq[T])(f: (T) ⇒ Tabs): Form

    Permalink

    create new tabs in the Form

    create new tabs in the Form

    Definition Classes
    Form
  39. def text: String

    Permalink

    returns

    the printed form with a padding space size to use for each cell

    Definition Classes
    InlinedFormFormText
  40. def th(h1: String, hs: String*): Form

    Permalink

    add a new Header, with at least one Field

    add a new Header, with at least one Field

    Definition Classes
    Form
  41. def th(hs: Seq[String])(implicit p: control.ImplicitParameters.ImplicitParam): Form

    Permalink

    add a new Header

    add a new Header

    Definition Classes
    Form
  42. def th(h1: Field[_], hs: Field[_]*): Form

    Permalink

    add a new Header, with at least one Field

    add a new Header, with at least one Field

    Definition Classes
    Form
  43. def th(hs: Seq[Field[_]]): Form

    Permalink

    add a new Header with some fields

    add a new Header with some fields

    Definition Classes
    Form
  44. val title: Option[String]

    Permalink
    Definition Classes
    Form
  45. def toCellXml(implicit args: Arguments = Arguments()): Elem

    Permalink

    returns

    an xml description of this form, to be embedded in a Cell

    Definition Classes
    InlinedFormForm
  46. def toEffect(label: String): Effect[Form]

    Permalink

    encapsulate this form into an effect

    encapsulate this form into an effect

    Definition Classes
    Form
  47. def toProp(label: String): Prop[Form, Any]

    Permalink

    encapsulate this form into a Prop

    encapsulate this form into a Prop

    Definition Classes
    Form
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. def toXml(implicit args: Arguments = Arguments()): Elem

    Permalink

    returns

    an xml description of this form

    Definition Classes
    InlinedFormForm
  50. def tr(row: Row): Form

    Permalink

    add a new Row

    add a new Row

    Definition Classes
    Form
  51. def tr(c1: Cell, cs: Cell*): Form

    Permalink

    add a new Row, with at least one Cell

    add a new Row, with at least one Cell

    Definition Classes
    Form
  52. def trs[T](values: Seq[T])(f: (T) ⇒ Row): Form

    Permalink

    create new rows in the Form

    create new rows in the Form

    Definition Classes
    Form
  53. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(): Unit

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

    Permalink

    returns

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

    Definition Classes
    Text

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Form

Inherited from Text

Inherited from Executable

Inherited from AnyRef

Inherited from Any

Ungrouped