styledComboBox

fun <T> styledComboBox(items: ObservableList<T> = observableArrayList(), vararg styleClass: String, id: String? = null): ComboBox<T>

Create a styled ComboBox.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun <T> NodeManager.styledComboBox(items: ObservableList<T> = observableArrayList(), vararg styleClass: String, id: String? = null): ComboBox<T>

Add a styled ComboBox to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun <T> styledComboBox(items: ObservableList<T> = observableArrayList(), vararg styleClass: String, id: String? = null, configuration: ComboBox<T>.() -> Unit): ComboBox<T>

Create a styled ComboBox 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> NodeManager.styledComboBox(items: ObservableList<T> = observableArrayList(), vararg styleClass: String, id: String? = null, configuration: ComboBox<T>.() -> Unit): ComboBox<T>

Add a styled ComboBox with configuration block to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.