1.2.0
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.
Function that calculates the minimun height of a row given the vector of cell.
(any)
int
:
minimun height of the rows.
Function that calculates the minimun width of a column given the vector of cell.
(any)
int
:
minimun width of the rows.
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.
Extends TCell
(string)
text that the cell is going to display.
Method that draws the cell with a certain width and height.
(int)
number of characters that the cell is going to display horizontally.
(int)
number of lines that the cell is going to have.
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.
(TCell)
cell that stretched cell is going to contain.
(int)
maximun width of the streched cell.
(int)
maximun height of the streched cell.
Method that returns the max between the specified width and the cell min width.
Method that returns the max between the specified height and the cell min height.
Method that draws the cell with a certain width and height.
(int)
number of characters that the cell is going to display horizontally.
(int)
number of lines that the cell is going to have.
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.
(string)
text that the cell is going to display.
Method that draws the cell with a certain width and height.
(int)
number of characters that the cell is going to display horizontally.
(int)
number of lines that the cell is going to have.
Method that formats the contents with the specified size
(int)
number of characters that the cell is going to display horizontally.
(int)
number of lines that the cell is going to have.
Method that returns the min width of the cell.
int
:
minimun width of the cell.
Method that returns the ac width of the cell.
int
:
minimun width of the cell.
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.
Extends TCell
(String)
Text that the UnderlinedCell is going to store.
Method that draws the cell with a certain width and height.
(int)
number of characters that the cell is going to display horizontally.
(int)
number of lines that the cell is going to have.