Modifier and Type | Method and Description |
---|---|
Table.Factory |
addRow(java.lang.Object... values)
Add a row of values to the table.
|
Table |
build()
Finish building the table.
|
Table.Factory |
columnFive(java.lang.String columnName,
Icon icon)
Set fifth column name and icon.
|
Table.Factory |
columnFour(java.lang.String columnName,
Icon icon)
Set fourth column name and icon.
|
Table.Factory |
columnOne(java.lang.String columnName,
Icon icon)
Set first column name and icon.
|
Table.Factory |
columnThree(java.lang.String columnName,
Icon icon)
Set third column name and icon.
|
Table.Factory |
columnTwo(java.lang.String columnName,
Icon icon)
Set second column name and icon.
|
public Table.Factory columnOne(java.lang.String columnName, Icon icon)
columnName
- Name of the column.icon
- Icon of the column, color is ignored.public Table.Factory columnTwo(java.lang.String columnName, Icon icon)
columnName
- Name of the column.icon
- Icon of the column, color is ignored.public Table.Factory columnThree(java.lang.String columnName, Icon icon)
columnName
- Name of the column.icon
- Icon of the column, color is ignored.public Table.Factory columnFour(java.lang.String columnName, Icon icon)
columnName
- Name of the column.icon
- Icon of the column, color is ignored.public Table.Factory columnFive(java.lang.String columnName, Icon icon)
columnName
- Name of the column.icon
- Icon of the column, color is ignored.public Table.Factory addRow(java.lang.Object... values)
values
- One value per column you have defined, Object#toString()
will be called on the objects.java.lang.IllegalArgumentException
- If given varargs for 'values' is null.public Table build()