Cell

trait Cell extends Text with Xml with Executable

A Cell is the Textual or Xml representation of a Form element: Field, Prop or Form. A more general XmlCell is also available to be able to input any kind of Xml inside a Form

A Cell can be executed by executing the underlying element but also by setting the cell to a specific result (success or failure). This feature is used to display rows of values with were expected and found ok in Forms.

trait Executable
trait Xml
trait Text
class Object
trait Matchable
class Any
class FieldCell
class FormCell
class LazyCell
class PropCell
class Tab
class Tabs
class TextCell
class XmlCell

Value members

Abstract methods

execute the Cell and returns it

execute the Cell and returns it

def setResult(r: Result): Cell

Concrete methods

Inherited methods

def execute: Result
Returns:

a Result

Inherited from:
Executable
def map(f: Result => Result): Executable

modify the result to return

modify the result to return

Inherited from:
Executable
def text: String
Returns:

a text representation

Inherited from:
Text
def width: Int
Returns:

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

Inherited from:
Text
def xml(using args: Arguments): NodeSeq
Returns:

an xml representation

Inherited from:
Xml