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)
int
getHeight()
default Integer
getHeightDirectly()
Get height directly.int
getIndex()
int
getOutlineLevel()
Returns the row groupingsSSheet
getSheet()
boolean
isCollapsed()
Returns true if it has "collapsed" attributeboolean
isCustomHeight()
boolean
isHidden()
boolean
isNull()
void
setCollapsed(boolean collapsed)
Sets the "collapsed" attributevoid
setCustomHeight(boolean custom)
void
setHeight(int height)
void
setHidden(boolean hidden)
void
setOutlineLevel(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
-
-