choiceBoxCellFactory

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

Sets a ChoiceBoxListCell 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.ChoiceBox menu is showing.


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

Sets a ChoiceBoxListCell 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.ChoiceBox menu is showing.


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

Sets a CheckBoxTableCell 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.ChoiceBox menu is showing.


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

Sets a ChoiceBoxTableCell 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.ChoiceBox menu is showing.


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

Sets a ChoiceBoxTableCell 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.ChoiceBox menu is showing.


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

Sets a ChoiceBoxTreeCell 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.ChoiceBox menu is showing.


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

Sets a ChoiceBoxTreeCell 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.ChoiceBox menu is showing.


inline fun <S, T> TreeTableColumn<S, T>.choiceBoxCellFactory(vararg items: T)
inline fun <S, T> TreeTableColumn<S, T>.choiceBoxCellFactory(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.ChoiceBox menu is showing.


inline fun <S, T> TreeTableColumn<S, T>.choiceBoxCellFactory(converter: StringConverter<T>, vararg items: T)
inline fun <S, T> TreeTableColumn<S, T>.choiceBoxCellFactory(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.ChoiceBox menu is showing.