Package lukfor.tables
Class TableReport
- java.lang.Object
-
- lukfor.reports.HtmlReport
-
- lukfor.reports.HtmlWidgetsReport
-
- lukfor.tables.TableReport
-
public class TableReport extends lukfor.reports.HtmlWidgetsReport
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_TEMPLATE
-
Constructor Summary
Constructors Constructor Description TableReport(String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String tag)voidcode(String text)voidgenerate(File outputFile)StringgetTemplate()voidhist(Table table, String column, double bin)voidplot(Collection<Table> tables, String x, String y)voidplot(Collection<Table> tables, String x, String y, String type)voidplot(TraceList traces, String x, String y)voidplot(Table table, String x, String y)voidplot(Table table, String x, String y, String type)voidplot(Table table, String x, String y, String type, String group)voidplotBar(Table table, String x, String y)voidsave()voidsaveAndOpen()voidsection(String section)voidsetTemplate(String template)voidtable(Table table)voidtable(Table table, String... columns)Stringtag(String tag, String content)voidtext(String text)voidtitle(String title)voidwidget(String name, HashMap<String,Object> config)-
Methods inherited from class lukfor.reports.HtmlWidgetsReport
addInstance, getHead, getHead, getScript, importWidget
-
-
-
-
Field Detail
-
DEFAULT_TEMPLATE
public static final String DEFAULT_TEMPLATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TableReport
public TableReport(String filename)
-
-
Method Detail
-
title
public void title(String title)
-
section
public void section(String section)
-
text
public void text(String text)
-
code
public void code(String text)
-
table
public void table(Table table)
-
plot
public void plot(Collection<Table> tables, String x, String y)
-
plot
public void plot(Collection<Table> tables, String x, String y, String type)
-
hist
public void hist(Table table, String column, double bin) throws IOException
- Throws:
IOException
-
add
public void add(String tag)
-
setTemplate
public void setTemplate(String template)
-
getTemplate
public String getTemplate()
-
save
public void save() throws IOException- Throws:
IOException
-
saveAndOpen
public void saveAndOpen() throws IOException- Throws:
IOException
-
generate
public void generate(File outputFile) throws IOException
- Overrides:
generatein classlukfor.reports.HtmlReport- Throws:
IOException
-
-