Class TableContainer

java.lang.Object
com.djrapitops.plan.data.element.TableContainer

@Deprecated public class TableContainer extends Object
Deprecated.
PluginData API has been deprecated - see https://github.com/plan-player-analytics/Plan/wiki/APIv5---DataExtension-API for new API.
Container used for creating Html tables.
  • Field Details

    • formatters

      protected final Formatter[] formatters
      Deprecated.
  • Constructor Details

    • TableContainer

      public TableContainer(String... header)
      Deprecated.
      Constructor, call with super(...).
      Parameters:
      header - Required: example new TableContainer("1st", "2nd" turns into <thead><tr><th>1st</th><th>2nd</th></tr></thead.
    • TableContainer

      public TableContainer(boolean players, String... header)
      Deprecated.
  • Method Details

    • addRow

      public final void addRow(Serializable... values)
      Deprecated.
    • parsehtml

      public String parsehtml()
      Deprecated.
    • buildHtml

      public String buildHtml()
      Deprecated.
    • parseBody

      public final String parseBody()
      Deprecated.
    • setColor

      public final void setColor(String color)
      Deprecated.
    • parseHeader

      public final String parseHeader()
      Deprecated.
    • setFormatter

      public final void setFormatter(int index, Formatter formatter)
      Deprecated.
    • useJqueryDataTables

      public void useJqueryDataTables()
      Deprecated.
      Make use of jQuery Data-tables plugin.

      Use this with custom tables.

    • useJqueryDataTables

      public void useJqueryDataTables(String sortType)
      Deprecated.
      Make use of jQuery Data-tables plugin.
      Parameters:
      sortType - "player-table" or "player-plugin-table"