StringGridWidget

Grid view with string data shown. All rows are of the same height

Constructors

this
this()

empty parameter list constructor - for usage by factory

this
this(string ID)

create with ID parameter

Members

Functions

cellText
UIString cellText(int col, int row)

get cell text

colTitle
UIString colTitle(int col)

returns row header title

drawCell
void drawCell(DrawBuf buf, Rect rc, int col, int row)

draw cell content

drawCellBackground
void drawCellBackground(DrawBuf buf, Rect rc, int c, int r)

draw cell background

drawHeaderCell
void drawHeaderCell(DrawBuf buf, Rect rc, int col, int row)

draw cell content

drawHeaderCellBackground
void drawHeaderCellBackground(DrawBuf buf, Rect rc, int c, int r)

draw cell background

measureCell
Point measureCell(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onThemeChanged
void onThemeChanged()

handle theme change: e.g. reload some themed resources

resize
void resize(int c, int r)

set new size

rowTitle
UIString rowTitle(int row)

returns row header title

setCellText
StringGridWidgetBase setCellText(int col, int row, UIString text)

set cell text

setCellText
deprecated StringGridWidgetBase setCellText(int col, int row, dstring text)
Undocumented in source. Be warned that the author may not have intended to support it.
setColTitle
StringGridWidgetBase setColTitle(int col, UIString title)

set col header title

setColTitle
deprecated StringGridWidgetBase setColTitle(int col, dstring title)
Undocumented in source. Be warned that the author may not have intended to support it.
setRowTitle
StringGridWidgetBase setRowTitle(int row, UIString title)

set row header title

setRowTitle
deprecated StringGridWidgetBase setRowTitle(int row, dstring title)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_colTitles
UIString[] _colTitles;
Undocumented in source.
_data
UIString[][] _data;
Undocumented in source.
_rowTitles
UIString[] _rowTitles;
Undocumented in source.

Inherited Members

From StringGridWidgetBase

cellText
UIString cellText(int col, int row)

get cell text

setCellText
StringGridWidgetBase setCellText(int col, int row, UIString text)

set cell text

rowTitle
UIString rowTitle(int row)

returns row header title

setRowTitle
StringGridWidgetBase setRowTitle(int row, UIString title)

set row header title

colTitle
UIString colTitle(int col)

returns row header title

setColTitle
StringGridWidgetBase setColTitle(int col, UIString title)

set col header title

Meta