Class Table
java.lang.Object
com.foreach.across.modules.debugweb.support.Table
- Author:
- Stijn Vanhoof
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
static Table
Converts a map into a table where the first column is the key and the second column the value.getRows()
getTitle()
boolean
isEmpty()
void
setHeader
(TableHeader header) void
setRows
(Collection<TableRow> rows) void
setSubTitle
(String subTitle) void
int
size()
-
Constructor Details
-
Table
-
Table
public Table()
-
-
Method Details
-
addRow
-
addRow
-
fromMap
Converts a map into a table where the first column is the key and the second column the value.- Parameters:
title
- Title for the table.data
- Map to be converted.- Returns:
- Table instance.
-
isEmpty
public boolean isEmpty() -
size
public int size() -
setTitle
-
setSubTitle
-
setHeader
-
setRows
-
getTitle
-
getSubTitle
-
getHeader
-
getRows
-