Package bld.generator.report.excel
Class SheetData<T extends RowSheet>
java.lang.Object
bld.generator.report.excel.BaseSheet
bld.generator.report.excel.SheetData<T>
- Type Parameters:
T- the generic type
SheetData is used for the generation of a table with rows of typeRowSheet.
Below an example of table generated by mergingSheetDataandRowSheetclasses.column name of the field 1 column name of the field 2 column name of the field 3 column name of the field ...N row 1 value of the field 1 value of the field 2 value of the field 3 value of the field ...N row 2 value of the field 1 value of the field 2 value of the field 3 value of the field ...N row N value of the field 1 value of the field 2 value of the field 3 value of the field ...N
- All Implemented Interfaces:
SheetComponent
- Direct Known Subclasses:
QuerySheetData,SheetDynamicData,SheetFunctionTotal,SheetMappingSheet
The Class SheetData.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRowSheets(T... rows) Adds the row sheets.booleanEquals.Gets the list row sheet.Gets the row class.inthashCode()Hash code.booleanvoidsetEnableInfoSheet(boolean enableInfoSheet) voidsetListRowSheet(List<T> listRowSheet) Sets the list row sheet.Methods inherited from class bld.generator.report.excel.BaseSheet
getSheetName, setSheetNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface bld.generator.report.excel.SheetComponent
setSheetName
-
Field Details
-
listRowSheet
The list row sheet.
-
-
Constructor Details
-
SheetData
Instantiates a new sheet data.- Parameters:
sheetName- the name sheet
-
-
Method Details
-
getListRowSheet
Gets the list row sheet.- Returns:
- the list row sheet
-
addRowSheets
Adds the row sheets.- Parameters:
rows- the rows
-
setListRowSheet
Sets the list row sheet.- Parameters:
listRowSheet- the new list row sheet
-
getRowClass
Gets the row class.- Returns:
- the row class
-
isEnableInfoSheet
public boolean isEnableInfoSheet() -
setEnableInfoSheet
public void setEnableInfoSheet(boolean enableInfoSheet) -
hashCode
public int hashCode()Hash code. -
equals
Equals.
-