TableBuilder

papyrus.DSL.builders.TableBuilder

Builder for constructing a styled table with rows and custom rendering

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addRow(row: RowBuilder[T]): TableBuilder[T]

Adds a row to the table

Adds a row to the table

Attributes

def alignment(align: Align): TableBuilder[T]

Sets the horizontal alignment of the table on the page (only once)

Sets the horizontal alignment of the table on the page (only once)

Attributes

Sets the background color of the table (only once)

Sets the background color of the table (only once)

Attributes

override def build: Table[T]

Attributes

Definition Classes
def margin(margin: Margin): TableBuilder[T]

Sets the margin of the table (only once)

Sets the margin of the table (only once)

Attributes

def textAlign(align: Alignment): TableBuilder[T]

Sets the text alignment inside the table (only once)

Sets the text alignment inside the table (only once)

Attributes

def width(width: Width): TableBuilder[T]

Sets the width of the table (only once)

Sets the width of the table (only once)

Attributes

def withCaption(caption: String): TableBuilder[T]

Sets the table caption (only once)

Sets the table caption (only once)

Attributes

def withFunctionRender(function: T => String): TableBuilder[T]

Sets the function used to render cell content as string (only once)

Sets the function used to render cell content as string (only once)

Attributes