Package io.keikai.model
Interface SColumnArray
- All Superinterfaces:
CellStyleHolder
- All Known Implementing Classes:
AbstractColumnArrayAdv,ColumnArrayImpl
It stores first and last column index of a group of column that has same width and cell style.
- Since:
- 3.5.0
- Author:
- Dennis
-
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()intintReturns the column groupingsgetSheet()intgetWidth()booleanthe bestfit attributebooleanReturns true if it has "collapsed" attributebooleanbooleanisHidden()voidsetBestFit(boolean bestFit) set the bestfit attributevoidsetCollapsed(boolean collapsed) Sets the "collapsed" attributevoidsetCustomWidth(boolean custom) voidsetHidden(boolean hidden) voidsetOutlineLevel(int outlineLevel) Set column groupings (like groupColumn) in a stream-friendly mannervoidsetWidth(int width) Methods inherited from interface io.keikai.model.CellStyleHolder
getCellStyle, getCellStyle, setCellStyle
-
Method Details
-
getIndex
int getIndex() -
getLastIndex
int getLastIndex() -
getSheet
SSheet getSheet() -
getWidth
int getWidth() -
isHidden
boolean isHidden() -
isCustomWidth
boolean isCustomWidth() -
setWidth
void setWidth(int width) -
setHidden
void setHidden(boolean hidden) -
setCustomWidth
void setCustomWidth(boolean custom) -
isBestFit
boolean isBestFit()the bestfit attribute- Returns:
- is bestfit or not
- Since:
- 5.11.0
-
setBestFit
void setBestFit(boolean bestFit) set the bestfit attribute- Since:
- 5.11.0
-
setOutlineLevel
void setOutlineLevel(int outlineLevel) Set column groupings (like groupColumn) in a stream-friendly mannergroupColumns requires all rows in the group to be in the current window. This is not always practical. Instead use setOutlineLevel to explicitly set the group level. Level 1 is the top level group, followed by 2, etc. It is up to the user to ensure that level 2 groups are correctly nested under level 1, etc.
Note: The maximum outlines are up to eight levels.
- Parameters:
outlineLevel- outline level (greater than 0)- Since:
- 6.0.0
-
getOutlineLevel
int getOutlineLevel()Returns the column groupings- Since:
- 6.0.0
-
isCollapsed
boolean isCollapsed()Returns true if it has "collapsed" attribute- Since:
- 6.0.0
-
setCollapsed
void setCollapsed(boolean collapsed) Sets the "collapsed" attribute- Since:
- 6.0.0
-