Slots
- bgSource
-
virtual Color? bg(Int col, Int row)
Get the background color for this cell. If null, use the default background color.
- fgSource
-
virtual Color? fg(Int col, Int row)
Get the foreground color for this cell. If null, use the default foreground color.
- fontSource
-
virtual Font? font(Int col, Int row)
Get the font used to render the text for this cell. If null, use the default system font.
- halignSource
-
virtual Halign halign(Int col)
Get the horizontal alignment for specified column. Default is left.
- headerSource
-
Get the header text for specified column.
- imageSource
-
virtual Image? image(Int col, Int row)
Get the image to display for specified cell or null.
- numColsSource
-
virtual Int numCols()
Get number of columns in table. Default returns 1.
- numRowsSource
-
virtual Int numRows()
Get number of rows in table.
- prefWidthSource
-
virtual Int? prefWidth(Int col)
Return the preferred width in pixels for this column. Return null (the default) to use the Tables default width.
- sortCompareSource
-
virtual Int sortCompare(Int col, Int row1, Int row2)
Compare two cells when sorting the given col. Return -1, 0, or 1 according to the same semanatics as
sys::Obj.compare
. Default behavior sorts text usingsys::Str.localeCompare
. SeeTable.sort
. - textSource
-
virtual Str text(Int col, Int row)
Get the text to display for specified cell.