Class HtmlTable

java.lang.Object
org.cloudsimplus.builders.tables.AbstractTable
org.cloudsimplus.builders.tables.HtmlTable
All Implemented Interfaces:
Table

public class HtmlTable
extends AbstractTable
A generator of HTML tables.
Since:
CloudSim Plus 1.0
Author:
Manoel Campos da Silva Filho
  • Constructor Details

    • HtmlTable

      public HtmlTable()
    • HtmlTable

      public HtmlTable​(String title)
      Creates an Table
      Parameters:
      title - Title of the table
  • Method Details

    • printTableOpening

      protected void printTableOpening()
      Description copied from class: AbstractTable
      Prints the string to open the table.
      Specified by:
      printTableOpening in class AbstractTable
    • printTitle

      protected void printTitle()
      Description copied from class: AbstractTable
      Prints the table title.
      Specified by:
      printTitle in class AbstractTable
    • printRowOpening

      protected void printRowOpening()
      Description copied from class: AbstractTable
      Prints the string that has to precede each printed row.
      Specified by:
      printRowOpening in class AbstractTable
    • printRowClosing

      protected void printRowClosing()
      Description copied from class: AbstractTable
      Prints the string to close a row.
      Specified by:
      printRowClosing in class AbstractTable
    • printTableClosing

      protected void printTableClosing()
      Description copied from class: AbstractTable
      Prints the string to close the table.
      Specified by:
      printTableClosing in class AbstractTable
    • addColumn

      public TableColumn addColumn​(int index, String columnTitle)
      Description copied from interface: Table
      Adds a column with a given title to the end of the table's columns to be printed.
      Parameters:
      index - the position to insert the column into the column's list
      columnTitle - The title of the column to be added.
      Returns:
      the created column