Package io.keikai.model
Interface STable
- All Known Implementing Classes:
AbstractTableAdv,TableImpl,TableImpl.DummyTable
public interface STable
Table.
POI removal: no longer extends POI's
org.apache.poi.ss.usermodel.Table — that contract pulled in
POI's TableStyleInfo, Cell, and CellReference,
none of which any Keikai-internal caller used. The structured-table
item kind enum was moved from POI's TablePtg.Item to the
Keikai-native STableItem.
- Since:
- 3.8.0
- Author:
- henri
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumn(STableColumn column) Creates a new auto filter for this table the old one will be drop directly.voidDelete current autofilter if it hasvoidenableAutoFilter(boolean enable) Gets the auto filter information if there is.getBook()getColumnAt(int colIdx) getColumnsRegion(String columnName1, String columnName2) intgetItemRegion(STableItem item, int rowIdx) getName()getThisRowRegion(int rowIdx) intvoidsetDisplayName(String name) voidsetHeaderRowCount(int count) voidvoidsetTotalsRowCount(int count)
-
Method Details
-
getBook
SBook getBook() -
getAutoFilter
SAutoFilter getAutoFilter()Gets the auto filter information if there is.- Returns:
- the auto filter, or null if not found
-
enableAutoFilter
void enableAutoFilter(boolean enable) -
createAutoFilter
SAutoFilter createAutoFilter()Creates a new auto filter for this table the old one will be drop directly.- Returns:
- the new auto filter.
-
deleteAutoFilter
void deleteAutoFilter()Delete current autofilter if it has -
addColumn
-
getColumns
List<STableColumn> getColumns() -
getColumnAt
-
getTableStyleInfo
STableStyleInfo getTableStyleInfo() -
getTotalsRowCount
int getTotalsRowCount() -
setTotalsRowCount
void setTotalsRowCount(int count) -
getHeaderRowCount
int getHeaderRowCount() -
setHeaderRowCount
void setHeaderRowCount(int count) -
getName
String getName() -
setName
-
getDisplayName
String getDisplayName() -
setDisplayName
-
getAllRegion
SheetRegion getAllRegion() -
getDataRegion
SheetRegion getDataRegion() -
getColumnsRegion
-
getHeadersRegion
SheetRegion getHeadersRegion() -
getTotalsRegion
SheetRegion getTotalsRegion() -
getThisRowRegion
-
getItemRegion
-