comboBoxCellFactory

inline fun <T> ListView<T>.comboBoxCellFactory(vararg items: T)
inline fun <T> ListView<T>.comboBoxCellFactory(items: ObservableList<T>)

Sets a ComboBoxListCell factory for use in this ListView.

Parameters

T

The type of the elements contained within the ListView.

items

Zero or more items that will be shown to the user when the javafx.scene.control.ComboBox menu is showing.


inline fun <T> ListView<T>.comboBoxCellFactory(converter: StringConverter<T>, vararg items: T)
inline fun <T> ListView<T>.comboBoxCellFactory(converter: StringConverter<T>, items: ObservableList<T>)

Sets a ComboBoxListCell factory for use in this ListView.

Parameters

T

The type of the elements contained within the ListView.

converter

A string converter that, given an object of type T, will return a String that can be used to represent the object visually.

items

Zero or more items that will be shown to the user when the javafx.scene.control.ComboBox menu is showing.


inline fun <S, T> TableColumn<S, T>.comboBoxCellFactory(vararg items: T)
inline fun <S, T> TableColumn<S, T>.comboBoxCellFactory(items: ObservableList<T>)

Sets a ComboBoxTableCell factory for use in this TableColumn.

Parameters

T

The type of the elements contained within the TableColumn.

items

Zero or more items that will be shown to the user when the javafx.scene.control.ComboBox menu is showing.


inline fun <S, T> TableColumn<S, T>.comboBoxCellFactory(converter: StringConverter<T>, vararg items: T)
inline fun <S, T> TableColumn<S, T>.comboBoxCellFactory(converter: StringConverter<T>, items: ObservableList<T>)

Sets a ComboBoxTableCell factory for use in this TableColumn.

Parameters

T

The type of the elements contained within the TableColumn.

converter

A string converter that, given an object of type T, will return a String that can be used to represent the object visually.

items

Zero or more items that will be shown to the user when the javafx.scene.control.ComboBox menu is showing.


inline fun <T> TreeView<T>.comboBoxCellFactory(vararg items: T)
inline fun <T> TreeView<T>.comboBoxCellFactory(items: ObservableList<T>)

Sets a ComboBoxTreeCell factory for use in this TreeView.

Parameters

T

The type of the elements contained within the TreeView.

items

Zero or more items that will be shown to the user when the javafx.scene.control.ComboBox menu is showing.


inline fun <T> TreeView<T>.comboBoxCellFactory(converter: StringConverter<T>, vararg items: T)
inline fun <T> TreeView<T>.comboBoxCellFactory(converter: StringConverter<T>, items: ObservableList<T>)

Sets a ComboBoxTreeCell factory for use in this TreeView.

Parameters

T

The type of the elements contained within the TreeView.

converter

A string converter that, given an object of type T, will return a String that can be used to represent the object visually.

items

Zero or more items that will be shown to the user when the javafx.scene.control.ComboBox menu is showing.


inline fun <S, T> TreeTableColumn<S, T>.comboBoxCellFactory(vararg items: T)
inline fun <S, T> TreeTableColumn<S, T>.comboBoxCellFactory(items: ObservableList<T>)

Sets a CheckBoxTreeTableCell factory for use in this TreeTableColumn.

Parameters

T

The type of the elements contained within the TreeTableColumn.

items

Zero or more items that will be shown to the user when the javafx.scene.control.ComboBox menu is showing.


inline fun <S, T> TreeTableColumn<S, T>.comboBoxCellFactory(converter: StringConverter<T>, vararg items: T)
inline fun <S, T> TreeTableColumn<S, T>.comboBoxCellFactory(converter: StringConverter<T>, items: ObservableList<T>)

Sets a CheckBoxTreeTableCell factory for use in this TreeTableColumn.

Parameters

T

The type of the elements contained within the TreeTableColumn.

converter

A string converter that, given an object of type T, will return a String that can be used to represent the object visually.

items

Zero or more items that will be shown to the user when the javafx.scene.control.ComboBox menu is showing.