Class Table
java.lang.Object
com.foreach.across.modules.debugweb.support.Table
- Author:
- Stijn Vanhoof
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic TableConverts a map into a table where the first column is the key and the second column the value.getRows()getTitle()booleanisEmpty()voidsetHeader(TableHeader header) voidsetRows(Collection<TableRow> rows) voidsetSubTitle(String subTitle) voidintsize()
-
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
-