DTable

DTable https://github.com/ULL-ESIT-PL-1718/oop-alu0100945850.git

Copyright (c) 2017 Cristian Abrante Dorta Licensed under the MIT license.

class creates an formatted output table.

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

RCell

RCell https://github.com/ULL-ESIT-PL-1718/oop-alu0100945850.git

Copyright (c) 2017 Cristian Abrante Dorta Licensed under the MIT license.

Class that represents a cell whose content is right aligned. It extends a normal TCell.

new RCell(text: string)

Extends TCell

Parameters
text (string) text that the cell is going to display.
Instance Members
▸ draw(width, height)

StretchCell

RCell https://github.com/ULL-ESIT-PL-1718/oop-alu0100945850.git

Copyright (c) 2017 Cristian Abrante Dorta Licensed under the MIT license.

Class that represents a stretched cell whose content is stretched to fit a centain tcell inside.

new StretchCell(inner: TCell, width: int, height: int)
Parameters
inner (TCell) cell that stretched cell is going to contain.
width (int) maximun width of the streched cell.
height (int) maximun height of the streched cell.
Instance Members
▸ minWidth()
▸ minHeight()
▸ draw(width, height)

TCell

TCell https://github.com/ULL-ESIT-PL-1718/oop-alu0100945850.git

Copyright (c) 2017 Cristian Abrante Dorta Licensed under the MIT license.

Class that represents a cell whose content is left aligned.

new TCell(text: string)
Parameters
text (string) text that the cell is going to display.
Instance Members
▸ draw(width, height)
▸ getContent(width, height)
▸ minWidth()
▸ minHeight()

UnderlinedCell

UnderlinedCell https://github.com/ULL-ESIT-PL-1718/oop-alu0100945850.git

Copyright (c) 2017 Cristian Abrante Dorta Licensed under the MIT license.

Class that represents a cell whose content is displayed underlined. It extends a TCell.

new UnderlinedCell(inner: String)

Extends TCell

Parameters
inner (String) Text that the UnderlinedCell is going to store.
Instance Members
▸ draw(width, height)