StringGridAdapter

Members

Functions

cellText
dstring cellText(int col, int row)

get cell text

cellWidget
Widget cellWidget(int col, int row)

returns widget to draw cell at (col, row)

colHeader
Widget colHeader(int col)

returns column header widget, null if no header

colTitle
dstring colTitle(int col)

returns row header title

resize
void resize(int cols, int rows)

set new size

rowHeader
Widget rowHeader(int row)

returns row header widget, null if no header

rowTitle
dstring rowTitle(int row)

returns row header title

setCellText
StringGridAdapter setCellText(int col, int row, dstring text)

set cell text

setColTitle
StringGridAdapter setColTitle(int col, dstring title)

set col header title

setRowTitle
StringGridAdapter setRowTitle(int row, dstring title)

set row header title

Properties

cols
int cols [@property getter]

number of columns

cols
int cols [@property setter]

number of columns

rows
int rows [@property getter]

number of rows

rows
int rows [@property setter]

number of columns

Variables

_colTitles
dstring[] _colTitles;
Undocumented in source.
_cols
int _cols;
Undocumented in source.
_data
dstring[][] _data;
Undocumented in source.
_rowTitles
dstring[] _rowTitles;
Undocumented in source.
_rows
int _rows;
Undocumented in source.

Inherited Members

From GridAdapter

cols
int cols [@property getter]

number of columns

rows
int rows [@property getter]

number of rows

cellWidget
Widget cellWidget(int col, int row)

returns widget to draw cell at (col, row)

rowHeader
Widget rowHeader(int row)

returns row header widget, null if no header

colHeader
Widget colHeader(int col)

returns column header widget, null if no header

Meta