SimpleSection

class SimpleSection(rows: List<String>) : Section

Section without columns of the model summary table. Usually it is a header or footer of the table.

Constructors

SimpleSection
Link copied to clipboard
fun SimpleSection(rows: List<String>)

Functions

format
Link copied to clipboard
fun format(tableWidth: Int, lineSeparatorSymbol: Char = '_', thickLineSeparatorSymbol: Char = '='): List<String>

Format section to a list of strings, properly aligned with other sections.

Properties

width
Link copied to clipboard
val width: Int

Calculate the required width of the section to fit all the lines.