TextListCell

open class TextListCell<T>(listView: ListView<T>, item: T, text: String = item.toString()) : SingleNodeListCell<T, Label>

A ListCell which uses a Label to display the cell's value. This is the default type of ListCell, if ListView.cellFactory is unchanged.

Theme DSL

"list_cell" {
    child("label") { ... }
}

TextListCell inherits all features of ListCell.

Constructors

Link copied to clipboard
constructor(listView: ListView<T>, item: T, text: String = item.toString())