public final class Table
extends java.lang.Object
Usage: Table.builder().columnOne("columnName", new Icon(...)).addRow("Your", "Row", "Data").build()
Tables about players can have up to 4 columns. Tables about server can have up to 5 columns.
Icon colors are ignored.
If a row has more values than the column limit, they are ignored. If a row has less values than table columns, a '-' is displayed to distinguish a missing value.
If a table has no columns or rows, it is ignored.
for associated annotation.
Modifier and Type | Class and Description |
---|---|
static class |
Table.Factory
Factory for creating new
Table objects. |
Modifier and Type | Method and Description |
---|---|
static Table.Factory |
builder()
Create a new Table Factory.
|
java.lang.String[] |
getColumns() |
Icon[] |
getIcons() |
int |
getMaxColumnSize() |
java.util.List<java.lang.Object[]> |
getRows() |
public static Table.Factory builder()
public java.lang.String[] getColumns()
public int getMaxColumnSize()
public Icon[] getIcons()
public java.util.List<java.lang.Object[]> getRows()