addLabels

inline fun Table.addLabels(vararg elems: Any?, style: Label.LabelStyle = Styles.defaultLabel, wrap: Boolean = false, ellipsis: String? = null, align: Int = Align.center, block: (Cell<Label>) -> Unit = {})

Adds multiple labels, either static or dynamic ones.

Each of the elements must be either an arbitrary object, which will be toString()ed, or a () -> Any? / Prov. For the latter ones dynamic labels are made.

The parameter block can be used to modify the created labels, e.g. apply color or padding.