choiceBox

inline fun <T> NodeContainer.choiceBox(items: ObservableList<T> = observableArrayList()): ChoiceBox<T>

Add a ChoiceBox to this container.

Return

the control added.


inline fun <T> choiceBox(items: ObservableList<T> = observableArrayList(), configuration: ChoiceBox<T>.() -> Unit): ChoiceBox<T>

Create a ChoiceBox with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun <T> NodeContainer.choiceBox(items: ObservableList<T> = observableArrayList(), configuration: ChoiceBox<T>.() -> Unit): ChoiceBox<T>

Add a ChoiceBox with configuration block to this container.

Return

the control added.

Parameters

configuration

the configuration block.