Header

class Header : Scheme

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion : SchemeSpec<Header>

Properties

Link copied to clipboard

Sets the horizontal alignment of the text within the box. Has an effect only if text spans two or more lines (i.e. text contains one or more
HTML tags) or if an explicit width is set to override the text width.

Link copied to clipboard
override var descriptor: MetaDescriptor?
Link copied to clipboard
var fill: Fill

Fill type object.

Link copied to clipboard
var font: Font

Font type object.

Link copied to clipboard

The height of cells.

Link copied to clipboard

LayoutLine type object.

Link copied to clipboard
override val meta: ObservableMutableMeta
Link copied to clipboard

Cell values. values[m][n] represents the value of the "n"-th point in column "m", therefore the values[m] vector length for all columns must be the same (longer vectors will be truncated).

Functions

Link copied to clipboard
fun align(vararg alignments: HorizontalAlign)
fun align(alignments: List<HorizontalAlign>)
Link copied to clipboard
fun Scheme.color(key: Name? = null): ReadOnlyProperty<Scheme, Color>
Link copied to clipboard
fun fill(block: Fill.() -> Unit)
Link copied to clipboard
fun font(block: Font.() -> Unit)
Link copied to clipboard
open operator override fun get(name: Name): MutableMeta?
Link copied to clipboard
open override fun getValue(name: Name): Value?
Link copied to clipboard
fun Scheme.numberGreaterThan(minValue: Number, default: Number = minValue, key: Name? = null): ReadWriteProperty<Any?, Number>

A safe Number ray

Link copied to clipboard
fun Scheme.numberInRange(range: ClosedRange<Double>, key: Name? = null): ReadWriteProperty<Any?, Number>

A safe Number range

Link copied to clipboard
open operator override fun set(name: Name, node: Meta?)
Link copied to clipboard
open override fun setValue(name: Name, value: Value?)
Link copied to clipboard
fun Scheme.toJsonString(): String

Convert any type-safe configurator to json string

Link copied to clipboard
open override fun toMeta(): Laminate
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun validate(name: Name, meta: Meta?): Boolean
Link copied to clipboard
fun values(array: Iterable<Any>)