tornadofx / tornadofx.adapters / TornadoFXColumn

TornadoFXColumn

interface TornadoFXColumn<COLUMN>

Properties

column abstract val column: COLUMN
maxWidth abstract var maxWidth: Double
maxWidthProperty abstract val maxWidthProperty: DoubleProperty
minWidth abstract var minWidth: Double
minWidthProperty abstract val minWidthProperty: DoubleProperty
prefWidth abstract var prefWidth: Double
properties abstract val properties: <ERROR CLASS>
width abstract val width: Double

Functions

isLegalWidth open fun isLegalWidth(width: Double): Boolean

Extension Functions

contentWidth fun <S> TornadoFXColumn<S>.contentWidth(padding: Double = 0.0, useAsMin: Boolean = false, useAsMax: Boolean = false): <ERROR CLASS>

Make the column fit the content plus an optional padding width. Optionally constrain the min or max width to be this width.

fixedWidth fun <S> TornadoFXColumn<S>.fixedWidth(width: Number): <ERROR CLASS>
getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
maxWidth fun <S> TornadoFXColumn<S>.maxWidth(width: Number): <ERROR CLASS>
minWidth fun <S> TornadoFXColumn<S>.minWidth(width: Number): <ERROR CLASS>
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>
pctWidth fun <S> TornadoFXColumn<S>.pctWidth(pct: Number): <ERROR CLASS>
prefWidth fun <S> TornadoFXColumn<S>.prefWidth(width: Number): <ERROR CLASS>
remainingWidth fun <S> TornadoFXColumn<S>.remainingWidth(): <ERROR CLASS>
weightedWidth fun <S> TornadoFXColumn<S>.weightedWidth(weight: Number, padding: Double = 0.0, minContentWidth: Boolean = false): <ERROR CLASS>

Inheritors

TornadoFXTreeTableColumn class TornadoFXTreeTableColumn : TornadoFXColumn<TreeTableColumn<*, *>>
TornadoFxNormalTableColumn class TornadoFxNormalTableColumn : TornadoFXColumn<TableColumn<*, *>>