logo

mixin

fwt::TableModel

sys::Obj
  fwt::TableModel

TableModel models the data of a table widget.

Slots

halign

virtual Halign halign(Int col)

Get the horizontal alignment for specified column. Default is left.

Source

virtual Str header(Int col)

Get the header text for specified column.

Source

image

virtual Image image(Int col, Int row)

Get the image to display for specified cell or null.

Source

numCols

virtual Int numCols()

Get number of columns in table. Default returns 1.

Source

numRows

abstract Int numRows()

Get number of rows in table.

Source

text

abstract Str text(Int col, Int row)

Get the text to display for specified cell.

Source