Class LatexTable
java.lang.Object
org.cloudsimplus.builders.tables.AbstractTable
org.cloudsimplus.builders.tables.LatexTable
- All Implemented Interfaces:
Table
Generates tabular data in LaTeX format.
- Author:
- marwenbenhajhassine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds column specifiers which creates columsn and define how they are aligned in the LaTex Table.Cretes a column with a given title, subtitle and format.protected voidPrints the string to close the table.protected voidPrints the string to open the table.protected voidprotected voidPrints the table title.protected StringReturns the string to close a row.protected StringReturns the string that has to precede each printed row.protected StringReturns the string that has to precede the subtitle head.Methods inherited from class org.cloudsimplus.builders.tables.AbstractTable
addColumn, addColumn, addColumnList, colCount, getRows, newColumn, newColumn, newRow, print, printColumnHeaders, setColumnSeparator, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudsimplus.builders.tables.Table
getColumns, getColumnSeparator, getTitle
-
Constructor Details
-
LatexTable
public LatexTable() -
LatexTable
-
-
Method Details
-
printTableOpening
protected void printTableOpening()Description copied from class:AbstractTablePrints the string to open the table.- Specified by:
printTableOpeningin classAbstractTable
-
printTitle
protected void printTitle()Description copied from class:AbstractTablePrints the table title.- Specified by:
printTitlein classAbstractTable
-
printTabularStart
protected void printTabularStart() -
colNumberSpecifier
public void colNumberSpecifier()Adds column specifiers which creates columsn and define how they are aligned in the LaTex Table. -
rowClosing
Description copied from class:AbstractTableReturns the string to close a row.- Specified by:
rowClosingin classAbstractTable- Returns:
- the string to close a row
-
printTableClosing
protected void printTableClosing()Description copied from class:AbstractTablePrints the string to close the table.- Specified by:
printTableClosingin classAbstractTable
-
newColumn
Description copied from interface:TableCretes a column with a given title, subtitle and format. The created column is not added to the table.- Parameters:
title- The title of the column to be added.subtitle- The subtitle of the column to be added.format- format to print the column data- Returns:
- the created column
- See Also:
-
rowOpening
Description copied from class:AbstractTableReturns the string that has to precede each printed row.- Specified by:
rowOpeningin classAbstractTable- Returns:
- the string that has to precede each printed row
-
subtitleHeaderOpening
Description copied from class:AbstractTableReturns the string that has to precede the subtitle head.- Specified by:
subtitleHeaderOpeningin classAbstractTable- Returns:
- the string that has to precede the subtitle head
-