styledChoiceBox
inline fun <T> styledChoiceBox(items: ObservableList<T> = observableArrayList(), vararg styleClass: String, id: String? = null): ChoiceBox<T>
Create a styled ChoiceBox.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun <T> NodeContainer.styledChoiceBox(items: ObservableList<T> = observableArrayList(), vararg styleClass: String, id: String? = null): ChoiceBox<T>
Add a styled ChoiceBox to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun <T> styledChoiceBox(items: ObservableList<T> = observableArrayList(), vararg styleClass: String, id: String? = null, configuration: ChoiceBox<T>.() -> Unit): ChoiceBox<T>
Create a styled ChoiceBox with configuration block.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.
inline fun <T> NodeContainer.styledChoiceBox(items: ObservableList<T> = observableArrayList(), vararg styleClass: String, id: String? = null, configuration: ChoiceBox<T>.() -> Unit): ChoiceBox<T>
Add a styled ChoiceBox with configuration block to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.