Package com.djrapitops.plan.data.element
Class TableContainer
java.lang.Object
com.djrapitops.plan.data.element.TableContainer
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
-
Constructor Summary
ConstructorDescriptionTableContainer(boolean players, String... header)
Deprecated.TableContainer(String... header)
Deprecated.Constructor, call with super(...). -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRow(Serializable... values)
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.void
Deprecated.void
setFormatter(int index, Formatter formatter)
Deprecated.void
Deprecated.Make use of jQuery Data-tables plugin.void
useJqueryDataTables(String sortType)
Deprecated.Make use of jQuery Data-tables plugin.
-
Field Details
-
header
Deprecated. -
formatters
Deprecated.
-
-
Constructor Details
-
TableContainer
Deprecated.Constructor, call with super(...).- Parameters:
header
- Required: examplenew TableContainer("1st", "2nd"
turns into<thead><tr><th>1st</th><th>2nd</th></tr></thead
.
-
TableContainer
Deprecated.
-
-
Method Details
-
addRow
Deprecated. -
parsehtml
Deprecated. -
buildHtml
Deprecated. -
parseBody
Deprecated. -
setColor
Deprecated. -
parseHeader
Deprecated. -
setFormatter
Deprecated. -
useJqueryDataTables
public void useJqueryDataTables()Deprecated.Make use of jQuery Data-tables plugin.Use this with custom tables.
-
useJqueryDataTables
Deprecated.Make use of jQuery Data-tables plugin.- Parameters:
sortType
- "player-table" or "player-plugin-table"
-