Class LatexTable

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

public class LatexTable extends AbstractTable
Generates tabular data in LaTeX format.
Author:
marwenbenhajhassine
  • Constructor Details

    • LatexTable

      public LatexTable()
    • LatexTable

      public LatexTable(String title)
  • 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
    • 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

      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
    • 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:
    • 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
    • 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