Package io.keikai.model
Interface STable
-
- All Superinterfaces:
Table
- All Known Implementing Classes:
AbstractTableAdv,TableImpl,TableImpl.DummyTable
public interface STable extends Table
Table- Since:
- 3.8.0
- Author:
- henri
-
-
Field Summary
-
Fields inherited from interface org.apache.poi.ss.usermodel.Table
isStructuredReference
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddColumn(STableColumn column)SAutoFiltercreateAutoFilter()Creates a new auto filter for this table the old one will be drop directly.voiddeleteAutoFilter()Delete current autofilter if it hasvoidenableAutoFilter(boolean enable)SheetRegiongetAllRegion()SAutoFiltergetAutoFilter()Gets the auto filter information if there is.SBookgetBook()STableColumngetColumnAt(int colIdx)java.util.List<STableColumn>getColumns()SheetRegiongetColumnsRegion(java.lang.String columnName1, java.lang.String columnName2)SheetRegiongetDataRegion()java.lang.StringgetDisplayName()intgetHeaderRowCount()SheetRegiongetHeadersRegion()SheetRegiongetItemRegion(TablePtg.Item item, int rowIdx)java.lang.StringgetName()Get the name of the table.STableStyleInfogetTableStyleInfo()SheetRegiongetThisRowRegion(int rowIdx)SheetRegiongetTotalsRegion()intgetTotalsRowCount()voidsetDisplayName(java.lang.String name)voidsetHeaderRowCount(int count)voidsetName(java.lang.String name)voidsetTotalsRowCount(int count)-
Methods inherited from interface org.apache.poi.ss.usermodel.Table
contains, contains, findColumnIndex, getEndColIndex, getEndRowIndex, getSheetName, getStartColIndex, getStartRowIndex, getStyle, getStyleName, isHasTotalsRow
-
-
-
-
Method Detail
-
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
void addColumn(STableColumn column)
-
getColumns
java.util.List<STableColumn> getColumns()
-
getColumnAt
STableColumn getColumnAt(int colIdx)
-
getTableStyleInfo
STableStyleInfo getTableStyleInfo()
-
getTotalsRowCount
int getTotalsRowCount()
- Specified by:
getTotalsRowCountin interfaceTable- Returns:
- 0 for no totals rows, 1 for totals row shown. Values > 1 are not currently used by Excel up through 2016, and the OOXML spec doesn't define how they would be implemented.
-
setTotalsRowCount
void setTotalsRowCount(int count)
-
getHeaderRowCount
int getHeaderRowCount()
- Specified by:
getHeaderRowCountin interfaceTable- Returns:
- 0 for no header rows, 1 for table headers shown. Values > 1 might be used by Excel for pivot tables?
-
setHeaderRowCount
void setHeaderRowCount(int count)
-
getName
java.lang.String getName()
Description copied from interface:TableGet the name of the table.
-
setName
void setName(java.lang.String name)
-
getDisplayName
java.lang.String getDisplayName()
-
setDisplayName
void setDisplayName(java.lang.String name)
-
getAllRegion
SheetRegion getAllRegion()
-
getDataRegion
SheetRegion getDataRegion()
-
getColumnsRegion
SheetRegion getColumnsRegion(java.lang.String columnName1, java.lang.String columnName2)
-
getHeadersRegion
SheetRegion getHeadersRegion()
-
getTotalsRegion
SheetRegion getTotalsRegion()
-
getThisRowRegion
SheetRegion getThisRowRegion(int rowIdx)
-
getItemRegion
SheetRegion getItemRegion(TablePtg.Item item, int rowIdx)
-
-