public class SimpleRulesTableBuilder extends TableBuilder
| Modifier and Type | Field and Description |
|---|---|
static int |
LOGIC_ELEMENT_HEIGHT
Number of rows that usually are used for table logic element.
|
HEADER_HEIGHT, PROPERTIES_MIN_WIDTH, TABLE_PROPERTIES| Constructor and Description |
|---|
SimpleRulesTableBuilder(XlsSheetGridModel gridModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTable(int width,
int height)
Begins writing a table.
|
void |
endTable()
Finishes writing a table.
|
void |
writeHeader(String signature,
ICellStyle style)
Writes decision table header.
|
void |
writeTableBodyRow(List<Map<String,Object>> row) |
beginTable, getCurrentRow, getDefaultCellStyle, getDefaultDateCellStyle, getGridModel, getHeight, getTableRegion, getWidth, incCurrentRow, incCurrentRow, save, writeCell, writeCell, writeCell, writeGridTable, writePropertiespublic static final int LOGIC_ELEMENT_HEIGHT
public SimpleRulesTableBuilder(XlsSheetGridModel gridModel)
public void beginTable(int width,
int height)
throws CreateTableException
TableBuilderbeginTable in class TableBuilderwidth - table width in cellsheight - table height in cellsCreateTableException - if unable to create tablepublic void endTable()
throws CreateTableException
TableBuilderendTable in class TableBuilderCreateTableException - if an exception occurred when savingpublic void writeHeader(String signature, ICellStyle style)
void hello1(int hour)RuleswriteHeader in class TableBuildersignature - method signature for the table.style - header styleCopyright © 2004–2019 OpenL Tablets. All rights reserved.