Class TableImpl.DummyTable

java.lang.Object
io.keikai.model.impl.TableImpl.DummyTable
All Implemented Interfaces:
STable, org.apache.poi.ss.usermodel.Table
Enclosing class:
TableImpl

public static class TableImpl.DummyTable extends Object implements STable
  • Constructor Details

    • DummyTable

      public DummyTable(STable tb)
  • Method Details

    • getBook

      public SBook getBook()
      Specified by:
      getBook in interface STable
    • getAutoFilter

      public SAutoFilter getAutoFilter()
      Description copied from interface: STable
      Gets the auto filter information if there is.
      Specified by:
      getAutoFilter in interface STable
      Returns:
      the auto filter, or null if not found
    • enableAutoFilter

      public void enableAutoFilter(boolean enable)
      Specified by:
      enableAutoFilter in interface STable
    • createAutoFilter

      public SAutoFilter createAutoFilter()
      Description copied from interface: STable
      Creates a new auto filter for this table the old one will be drop directly.
      Specified by:
      createAutoFilter in interface STable
      Returns:
      the new auto filter.
    • deleteAutoFilter

      public void deleteAutoFilter()
      Description copied from interface: STable
      Delete current autofilter if it has
      Specified by:
      deleteAutoFilter in interface STable
    • addColumn

      public void addColumn(STableColumn column)
      Specified by:
      addColumn in interface STable
    • getColumns

      public List<STableColumn> getColumns()
      Specified by:
      getColumns in interface STable
    • getColumnAt

      public STableColumn getColumnAt(int colIdx)
      Specified by:
      getColumnAt in interface STable
    • getTableStyleInfo

      public STableStyleInfo getTableStyleInfo()
      Specified by:
      getTableStyleInfo in interface STable
    • getTotalsRowCount

      public int getTotalsRowCount()
      Specified by:
      getTotalsRowCount in interface STable
      Specified by:
      getTotalsRowCount in interface org.apache.poi.ss.usermodel.Table
    • setTotalsRowCount

      public void setTotalsRowCount(int count)
      Specified by:
      setTotalsRowCount in interface STable
    • getHeaderRowCount

      public int getHeaderRowCount()
      Specified by:
      getHeaderRowCount in interface STable
      Specified by:
      getHeaderRowCount in interface org.apache.poi.ss.usermodel.Table
    • setName

      public void setName(String name)
      Specified by:
      setName in interface STable
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface STable
    • setDisplayName

      public void setDisplayName(String name)
      Specified by:
      setDisplayName in interface STable
    • getAllRegion

      public SheetRegion getAllRegion()
      Specified by:
      getAllRegion in interface STable
    • getDataRegion

      public SheetRegion getDataRegion()
      Specified by:
      getDataRegion in interface STable
    • getColumnsRegion

      public SheetRegion getColumnsRegion(String columnName1, String columnName2)
      Specified by:
      getColumnsRegion in interface STable
    • getHeadersRegion

      public SheetRegion getHeadersRegion()
      Specified by:
      getHeadersRegion in interface STable
    • getTotalsRegion

      public SheetRegion getTotalsRegion()
      Specified by:
      getTotalsRegion in interface STable
    • getThisRowRegion

      public SheetRegion getThisRowRegion(int rowIdx)
      Specified by:
      getThisRowRegion in interface STable
    • getItemRegion

      public SheetRegion getItemRegion(org.apache.poi.ss.formula.ptg.TablePtg.Item item, int rowIdx)
      Specified by:
      getItemRegion in interface STable
    • getStyle

      public org.apache.poi.ss.usermodel.TableStyleInfo getStyle()
      Specified by:
      getStyle in interface org.apache.poi.ss.usermodel.Table
    • contains

      public boolean contains(org.apache.poi.ss.util.CellReference cell)
      Specified by:
      contains in interface org.apache.poi.ss.usermodel.Table
    • setHeaderRowCount

      public void setHeaderRowCount(int count)
      Specified by:
      setHeaderRowCount in interface STable
    • getStartColIndex

      public int getStartColIndex()
      Specified by:
      getStartColIndex in interface org.apache.poi.ss.usermodel.Table
    • getStartRowIndex

      public int getStartRowIndex()
      Specified by:
      getStartRowIndex in interface org.apache.poi.ss.usermodel.Table
    • getEndColIndex

      public int getEndColIndex()
      Specified by:
      getEndColIndex in interface org.apache.poi.ss.usermodel.Table
    • getEndRowIndex

      public int getEndRowIndex()
      Specified by:
      getEndRowIndex in interface org.apache.poi.ss.usermodel.Table
    • getName

      public String getName()
      Specified by:
      getName in interface STable
      Specified by:
      getName in interface org.apache.poi.ss.usermodel.Table
    • getStyleName

      public String getStyleName()
      Specified by:
      getStyleName in interface org.apache.poi.ss.usermodel.Table
    • findColumnIndex

      public int findColumnIndex(String columnHeader)
      Specified by:
      findColumnIndex in interface org.apache.poi.ss.usermodel.Table
    • getSheetName

      public String getSheetName()
      Specified by:
      getSheetName in interface org.apache.poi.ss.usermodel.Table
    • isHasTotalsRow

      public boolean isHasTotalsRow()
      Specified by:
      isHasTotalsRow in interface org.apache.poi.ss.usermodel.Table