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 a Table
      Parameters:
      title - the 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
    • rowOpening

      protected String rowOpening()
      Description copied from class: AbstractTable
      Returns the string that has to precede each printed row.
      Specified by:
      rowOpening in class AbstractTable
      Returns:
      the string that has to precede each printed row
    • rowClosing

      protected String rowClosing()
      Description copied from class: AbstractTable
      Returns the string to close a row.
      Specified by:
      rowClosing in class AbstractTable
      Returns:
      the string to close a row
    • subtitleHeaderOpening

      protected String subtitleHeaderOpening()
      Description copied from class: AbstractTable
      Returns the string that has to precede the subtitle head.
      Specified by:
      subtitleHeaderOpening in class AbstractTable
      Returns:
      the string that has to precede the subtitle head
    • printTableClosing

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

      public TableColumn newColumn(String title, String subtitle, String format)
      Description copied from interface: Table
      Cretes 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: