Class TableContainer


  • @Deprecated
    public class TableContainer
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      protected Formatter[] formatters
      Deprecated.
       
      protected java.lang.String[] header
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TableContainer​(boolean players, java.lang.String... header)
      Deprecated.
       
      TableContainer​(java.lang.String... header)
      Deprecated.
      Constructor, call with super(...).
    • Field Detail

      • header

        protected final java.lang.String[] header
        Deprecated.
      • formatters

        protected final Formatter[] formatters
        Deprecated.
    • Constructor Detail

      • TableContainer

        public TableContainer​(java.lang.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,
                              java.lang.String... header)
        Deprecated.
    • Method Detail

      • addRow

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

        public java.lang.String parsehtml()
        Deprecated.
      • buildHtml

        public java.lang.String buildHtml()
        Deprecated.
      • parseBody

        public final java.lang.String parseBody()
        Deprecated.
      • setColor

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

        public final java.lang.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​(java.lang.String sortType)
        Deprecated.
        Make use of jQuery Data-tables plugin.
        Parameters:
        sortType - "player-table" or "player-plugin-table"