Class HtmlTable
java.lang.Object
org.cloudsimplus.builders.tables.AbstractTable
org.cloudsimplus.builders.tables.HtmlTable
- All Implemented Interfaces:
Table
A generator of HTML tables.
- Since:
- CloudSim Plus 1.0
- Author:
- Manoel Campos da Silva Filho
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCretes 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 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
-
HtmlTable
public HtmlTable() -
HtmlTable
-
-
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
-
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
-
rowClosing
Description copied from class:AbstractTableReturns the string to close a row.- Specified by:
rowClosingin classAbstractTable- Returns:
- the string to close a 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
-
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:
-