DTable

Represents a table compound by different kind of cells

new DTable()
Instance Members
drawAllTable(data)
drawTable(rows)
dataTable(data)
rowHeights(rows)
colWidths(rows)

InheritedStretchCell

Represents a table cell which wraps another. It's the same kind of cell that StretchCell but it's implementation is slightly different.

new InheritedStretchCell(text: String, width: Number, height: Number)

Extends TCell

Parameters
text (String) Content of the wrapped cell.
width (Number) Width of the InheritedStretchCell.
height (Number) Height of the InheritedStretchCell.
Instance Members
minWidth()
minHeight()
draw(width, height)

RCell

Represents a table cell which content is right-aligned

new RCell(text: String)

Extends TCell

Parameters
text (String) Content of the new cell.
Instance Members
draw(width, height)

StretchCell

Represents a table cell which wraps another

new StretchCell(inner: any, width: Number, height: Number, text: String)
Parameters
inner (any)
width (Number) Width of the StretchCell.
height (Number) Height of the StretchCell.
text (String) Content of the wrapped cell.
Instance Members
minWidth()
minHeight()
draw(width, height)

TCell

Represents a table cell which content is left-aligned

new TCell(text: String)
Parameters
text (String) Content of the new cell.
Instance Members
draw(width, height)
getContent(width, height)
minWidth()
minHeight()

UnderlinedCell

Represents a table cell which content is left-aligned and underlined

new UnderlinedCell(inner: any, text: String)

Extends TCell

Parameters
inner (any)
text (String) Content of the new cell.
Instance Members
draw(width, height)