cellFactory

fun <T> ListView<T>.cellFactory(configuration: KtfxListCell<T>.(ListView<T>) -> Unit)

Sets a custom cell factory to use in this ListView.

Parameters

T

The type of the elements contained within the ListView.

configuration

custom initialization block that configures KtfxListCell.


fun <T> ComboBox<T>.cellFactory(configuration: KtfxListCell<T>.(ListView<T>) -> Unit)

Sets a custom cell factory to use in this ComboBox.

Parameters

T

The type of the elements contained within the ComboBox.

configuration

custom initialization block that configures KtfxListCell.


fun <S, T> TableColumn<S, T>.cellFactory(configuration: KtfxTableCell<S, T>.(TableColumn<S, T>) -> Unit)

Sets a custom cell factory to use in this TableColumn.

Parameters

T

The type of the elements contained within the TableColumn.

configuration

custom initialization block that configures KtfxTableCell.


fun <T> TreeView<T>.cellFactory(configuration: KtfxTreeCell<T>.(TreeView<T>) -> Unit)

Sets a custom cell factory to use in this TreeView.

Parameters

T

The type of the elements contained within the TreeView.

configuration

custom initialization block that configures KtfxListCell.


fun <S, T> TreeTableColumn<S, T>.cellFactory(configuration: KtfxTreeTableCell<S, T>.(TreeTableColumn<S, T>) -> Unit)

Sets a custom cell factory to use in this TreeTableColumn.

Parameters

T

The type of the elements contained within the TreeTableColumn.

configuration

custom initialization block that configures TreeTableColumn.