Package io.keikai.model
Interface SRow
- All Superinterfaces:
CellStyleHolder
- All Known Implementing Classes:
AbstractRowAdv,RowImpl
A row of a sheet.
- Since:
- 3.5.0
- Author:
- dennis
-
Method Summary
Modifier and TypeMethodDescriptiongetCellIterator(int start, int end) intdefault IntegerGet height directly.intgetIndex()intReturns the row groupingsgetSheet()booleanReturns true if it has "collapsed" attributebooleanbooleanisHidden()booleanisNull()voidsetCollapsed(boolean collapsed) Sets the "collapsed" attributevoidsetCustomHeight(boolean custom) voidsetHeight(int height) voidsetHidden(boolean hidden) voidsetOutlineLevel(int outlineLevel) Set row groupings (like groupRow) in a stream-friendly mannerMethods inherited from interface io.keikai.model.CellStyleHolder
getCellStyle, getCellStyle, setCellStyle
-
Method Details
-
getSheet
SSheet getSheet() -
getIndex
int getIndex()- Returns:
- 0-based row index
-
isNull
boolean isNull() -
getHeight
int getHeight()- Returns:
- height in pixels
-
isHidden
boolean isHidden() -
isCustomHeight
boolean isCustomHeight() -
setHeight
void setHeight(int height) -
setHidden
void setHidden(boolean hidden) -
setCustomHeight
void setCustomHeight(boolean custom) - Parameters:
custom- TRUE, if the height is set by users and is not calculated by system automatically
-
getCellIterator
- Returns:
- Since:
- 3.7.0
-
getCellIterator
- Returns:
- Since:
- 5.0.0
-
setOutlineLevel
void setOutlineLevel(int outlineLevel) Set row groupings (like groupRow) in a stream-friendly mannergroupRows 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 row 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
-
getHeightDirectly
Get height directly. Internal used only.- Since:
- 6.0.0
-