Table

class Table(colHeaders: List<String>, formats: List<MarkDown.ColFmt> = allSame(colHeaders.size, ColFmt.LEFT))

Constructors

Link copied to clipboard
constructor(colHeaders: List<String>, format: MarkDown.ColFmt)
constructor(colHeaders: List<String>, formats: List<MarkDown.ColFmt> = allSame(colHeaders.size, ColFmt.LEFT))

Functions

Link copied to clipboard
fun addRow(elements: List<String>): MarkDown.Table
fun addRow(rowLabel: String? = null, data: DoubleArray, df: DecimalFormat? = D3FORMAT): MarkDown.Table
Link copied to clipboard
fun addRows(data: Array<DoubleArray>, df: DecimalFormat? = D3FORMAT)
fun addRows(rows: List<DoubleArray>, df: DecimalFormat? = D3FORMAT)
Link copied to clipboard
open override fun toString(): String