styledListView

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

Create a styled ListView.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


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

Add a styled ListView to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


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

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

Add a styled ListView 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.