-
public class TableColumn<T extends Object>
A TableColumn may be used to represent a column in a Table.
-
-
Constructor Summary
Constructors Constructor Description TableColumn(String title, Number width, Function1<T, String> formatFunction)
-
Method Summary
Modifier and Type Method Description final String
getTitle()
The title for this TableColumn. final Number
getWidth()
The width for this TableColumn. final Function1<T, String>
getFormatFunction()
The format function for this TableColumn. -
-
Method Detail
-
getTitle
final String getTitle()
The title for this TableColumn. It gets displayed in the header row of the Table.
-
getWidth
final Number getWidth()
The width for this TableColumn.
-
getFormatFunction
final Function1<T, String> getFormatFunction()
The format function for this TableColumn. It gets applied to each item in the Table to get a String for its cell.
-
-
-
-