Table Column
open class TableColumn<T>( title: String, width: Number, font: Font = Font(), formatFunction: (T) -> String)
Content copied to clipboard
A TableColumn may be used to represent a column in a TableView.
See also
Parameters
T
TableView content type.
title
The title for this TableColumn. It gets displayed in the header row of the TableView.
width
The width for this TableColumn.
font
Font to be used for this TableColumn. Default: default Font constructor.
format Function
The format function for this TableColumn. It gets applied to each item in the TableView to get a String for its cell.
Constructors
Link copied to clipboard
fun <T> TableColumn( title: String, width: Number, font: Font = Font(), formatFunction: (T) -> String)
Content copied to clipboard
Creates a TableColumn.
Properties
Link copied to clipboard
Link copied to clipboard
Property for the Font of this TableColumn.
Link copied to clipboard
The formatFunction that gets used to obtain a String representation for each item.
Link copied to clipboard
Property for the formatFunction that gets used to obtain a String representation for each item.
Link copied to clipboard
Link copied to clipboard
Property for the title of this TableColumn.
Link copied to clipboard
Link copied to clipboard
Property for the width of this TableColumn. Must not be negative.