RowBuilder

papyrus.DSL.builders.RowBuilder
See theRowBuilder companion object
case class RowBuilder[T](cells: ArrayBuffer[CellBuilder[T]]) extends Builder[Row[T]]

Builder for creating a row of cells in a table

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Row[T]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addCell(cell: CellBuilder[T]): RowBuilder[T]

Adds a cell to the row

Adds a cell to the row

Attributes

def build: Row[T]

Builds the final Row[T] object

Builds the final Row[T] object

Attributes

def hsh(cell: T): RowBuilder[T]

Adds a header cell

Adds a header cell

Attributes

def s(cell: T): RowBuilder[T]

Adds a standard data cell after header cell

Adds a standard data cell after header cell

Attributes

def |(cell: T): RowBuilder[T]

Adds a standard data cell with content

Adds a standard data cell with content

Attributes

def |-(cell: T): RowBuilder[T]

Adds a cell with colspan = 2

Adds a cell with colspan = 2

Attributes

def |^(cell: T): RowBuilder[T]

Adds a cell with rowspan = 2

Adds a cell with rowspan = 2

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product