Package io.keikai.model
Interface SRow
-
- All Superinterfaces:
CellStyleHolder
- All Known Implementing Classes:
AbstractRowAdv,RowImpl
public interface SRow extends CellStyleHolder
A row of a sheet.- Since:
- 3.5.0
- Author:
- dennis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Iterator<SCell>getCellIterator()Iterator<SCell>getCellIterator(int start, int end)intgetHeight()default IntegergetHeightDirectly()Get height directly.intgetIndex()intgetOutlineLevel()Returns the row groupingsSSheetgetSheet()booleanisCollapsed()Returns true if it has "collapsed" attributebooleanisCustomHeight()booleanisHidden()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 manner-
Methods inherited from interface io.keikai.model.CellStyleHolder
getCellStyle, getCellStyle, setCellStyle
-
-
-
-
Method Detail
-
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
-
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
default Integer getHeightDirectly()
Get height directly. Internal used only.- Since:
- 6.0.0
-
-